Skip to content

Commit 45cbac4

Browse files
committed
[instructions][s]: instructions for check publish moved in to script where appropriate
1 parent 38b59d3 commit 45cbac4

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

examples/check_published.py

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
"""
2+
This script cheks if all the packages published by publisher on Datahub are working
3+
fine and returning status 200.
4+
5+
By default script awaits that dpm credentials are set in ~/.dpm/config and getting
6+
Publisher and Server to check against from there. You can also set this argguments
7+
by adding optional -p (--publisher) publisher_name and -s (--server) server_url
8+
flags when running script
9+
"""
110
# -*- coding: utf-8 -*-
211
from __future__ import division
312
from __future__ import print_function

examples/import_git.py

-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
This script cheks if all the packages published by publisher on Datahub are working
4-
fine and returning status 200.
5-
6-
By default script awaits that dpm credentials are set in ~/.dpm/config and getting
7-
Publisher and Server to check against from there. You can also set this argguments
8-
by adding optional -p (--publisher) publisher_name and -s (--server) server_url
9-
flags when running script
10-
"""
11-
122
from __future__ import division
133
from __future__ import print_function
144
from __future__ import absolute_import

0 commit comments

Comments
 (0)