Commit ba37e7ae authored by Jan Kotanski's avatar Jan Kotanski
Browse files

New upstream version 0.3.0

parent 6abe685e
# Text editor files
*~
\#*\#
# Compiled Python files
*.pyc
# Compiled C files
*.o
2021-09-06 Jan Kotanski <jankotan@gmail.com>
* change default repository to gitlab.desy.de
* tagged as v0.3.0
2020-05-15 Jan Kotanski <jankotan@gmail.com>
* add option with no author
* tagged as v0.2.1
2020-05-14 Jan Kotanski <jankotan@gmail.com>
* add glfromsvn tool
* add glupload tool
* tagged as v0.2.0
2020-05-13 Jan Kotanski <jankotan@gmail.com>
* add glclone and glpull tools
* tagged as v0.1.0
Metadata-Version: 1.1
Name: gitlabgroups
Version: 0.2.1
Version: 0.3.0
Summary: Nexus Data writer implemented as a Tango Server
Home-page: https://github.com/nexdatas/writer
Author: Jan Kotanski
......
Metadata-Version: 1.1
Name: gitlabgroups
Version: 0.2.1
Version: 0.3.0
Summary: Nexus Data writer implemented as a Tango Server
Home-page: https://github.com/nexdatas/writer
Author: Jan Kotanski
......
.gitignore
ChangeLog
LICENSE
MANIFEST.in
README.rst
......
......@@ -19,4 +19,4 @@
""" Gitlab group tools """
__version__ = "0.2.1"
__version__ = "0.3.0"
......@@ -121,8 +121,8 @@ def main():
parser.add_argument(
"-g", "--groupurl",
help='group url, '
'default: "https://eosc-pan-git.desy.de/api/v4/groups"',
dest="grpurl", default="https://eosc-pan-git.desy.de/api/v4/groups")
'default: "https://gitlab.desy.de/api/v4/groups"',
dest="grpurl", default="https://gitlab.desy.de/api/v4/groups")
parser.add_argument(
"-l", "--local-user", action="store_true",
default=False, dest="local",
......
......@@ -60,7 +60,7 @@ class GLFromSVN(object):
if self.__authors:
clonecmd += '--authors-file=%s' % self.__authors
tagcmd = 'cd %s;' \
' \git for-each-ref refs/remotes/origin/tags |' \
' git for-each-ref refs/remotes/origin/tags |' \
' cut -d / -f 5-|' \
' while read ref; ' \
' do git tag -a "$ref" -m"%s" ' \
......
......@@ -106,8 +106,8 @@ def main():
help='group filter, e.g. "tango-ds"')
parser.add_argument(
"-g", "--groupurl",
help='default: "https://eosc-pan-git.desy.de/api/v4/groups"',
dest="grpurl", default="https://eosc-pan-git.desy.de/api/v4/groups")
help='default: "https://gitlab.desy.de/api/v4/groups"',
dest="grpurl", default="https://gitlab.desy.de/api/v4/groups")
parser.add_argument(
"-a", "--all", action="store_true",
default=False, dest="all",
......
......@@ -36,7 +36,7 @@ class GLUpload(object):
"""
self.__user = options.user
self.__giturl = options.giturl or \
"https://eosc-pan-git.desy.de/tango-ds/"
"https://gitlab.desy.de/tango-ds/"
self.__gitdir = options.args[0] if len(options.args) > 0 else ""
self.__url = "%s/%s.git" % (self.__giturl, self.__gitdir) \
if self.__gitdir else options.url
......@@ -86,7 +86,7 @@ def main():
epilog = 'examples:\n' \
' glupload DeviceClasses/CounterTimer/DGG2 \n\n' \
' - upload a local git repository in the "." directory ' \
'to https://eosc-pan-git.desy.de/tango-ds/DeviceClasses/' \
'to https://gitlab.desy.de/tango-ds/DeviceClasses/' \
'CounterTimer/DGG2.git \n\n' \
parser = argparse.ArgumentParser(
......@@ -100,13 +100,13 @@ def main():
parser.add_argument(
"-g", "--git-url",
help='root git url, '
'default: "https://eosc-pan-git.desy.de/tango-ds/"',
'default: "https://gitlab.desy.de/tango-ds/"',
dest="giturl",
default="https://eosc-pan-git.desy.de/tango-ds/")
default="https://gitlab.desy.de/tango-ds/")
parser.add_argument(
"-f", "--url",
help='full git url with git subgroups and a project name, '
'e.g.: "https://eosc-pan-git.desy.de/tango-ds/'
'e.g.: "https://gitlab.desy.de/tango-ds/'
'deviceclasses/countertimer/gdd2"',
dest="url",
default="")
......
......@@ -18,7 +18,7 @@ show this help message and exit
.IP "-u USER, --user USER"
gitlab user
.IP "-g GRPURL, --groupurl GRPURL"
group url, default: "https://eosc-pan-git.desy.de/api/v4/groups"
group url, default: "https://gitlab.desy.de/api/v4/groups"
.IP "-l, --local-user"
get local user
.IP "-a, --all"
......
......@@ -16,7 +16,7 @@ optional arguments:
.IP "-h, --help"
show this help message and exit
.IP "-g GRPURL, --groupurl GRPURL"
group url, default: "https://eosc-pan-git.desy.de/api/v4/groups"
group url, default: "https://gitlab.desy.de/api/v4/groups"
.IP "-a, --all"
set filter to 'tango-ds'
......
......@@ -16,9 +16,9 @@ optional arguments:
.IP "-h, --help"
show this help message and exit
.IP "-g GRPURL, --groupurl GRPURL"
root git url, default: "https://eosc-pan-git.desy.de/tango-ds/"
root git url, default: "https://gitlab.desy.de/tango-ds/"
.IP "-u URL, --url URL"
full git url with git subgroups and a project name, e.g.: "https://eosc-pan-git.desy.de/tango-ds/deviceclasses/countertimer/gdd2"
full git url with git subgroups and a project name, e.g.: "https://gitlab.desy.de/tango-ds/deviceclasses/countertimer/gdd2"
.IP "-u USER, --user USER"
gitlab user
.IP "-l LOCALDIR, --local-dir LOCALDIR"
......@@ -27,7 +27,7 @@ local git directory, e.g.: "DGG2"
.SH EXAMPLES:
glupload DeviceClasses/CounterTimer/DGG2
- upload a local git repository in the "." directory to https://eosc-pan-git.desy.de/tango-ds/DeviceClasses/CounterTimer/DGG2.git
- upload a local git repository in the "." directory to https://gitlab.desy.de/tango-ds/DeviceClasses/CounterTimer/DGG2.git
.SH SEE ALSO
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment