Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PETRA III Debian Packages
python-gitlabgroups
Commits
cd7fb314
Commit
cd7fb314
authored
Sep 06, 2021
by
Jan Kotanski
Browse files
New upstream version 0.3.0
parent
263cfcd7
Changes
13
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
cd7fb314
# Text editor files
*~
\#*\#
# Compiled Python files
*.pyc
# Compiled C files
*.o
ChangeLog
0 → 100644
View file @
cd7fb314
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
PKG-INFO
View file @
cd7fb314
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
...
...
gitlabgroups.egg-info/PKG-INFO
View file @
cd7fb314
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
...
...
gitlabgroups.egg-info/SOURCES.txt
View file @
cd7fb314
.gitignore
ChangeLog
LICENSE
MANIFEST.in
README.rst
...
...
gitlabgroups/__init__.py
View file @
cd7fb314
...
...
@@ -19,4 +19,4 @@
""" Gitlab group tools """
__version__
=
"0.
2.1
"
__version__
=
"0.
3.0
"
gitlabgroups/glclone.py
View file @
cd7fb314
...
...
@@ -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://git
lab
.desy.de/api/v4/groups"'
,
dest
=
"grpurl"
,
default
=
"https://git
lab
.desy.de/api/v4/groups"
)
parser
.
add_argument
(
"-l"
,
"--local-user"
,
action
=
"store_true"
,
default
=
False
,
dest
=
"local"
,
...
...
gitlabgroups/glfromsvn.py
View file @
cd7fb314
...
...
@@ -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" '
\
...
...
gitlabgroups/glpull.py
View file @
cd7fb314
...
...
@@ -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://git
lab
.desy.de/api/v4/groups"'
,
dest
=
"grpurl"
,
default
=
"https://git
lab
.desy.de/api/v4/groups"
)
parser
.
add_argument
(
"-a"
,
"--all"
,
action
=
"store_true"
,
default
=
False
,
dest
=
"all"
,
...
...
gitlabgroups/glupload.py
View file @
cd7fb314
...
...
@@ -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://git
lab
.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://git
lab
.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://git
lab
.desy.de/tango-ds/"'
,
dest
=
"giturl"
,
default
=
"https://
eosc-pan-
git.desy.de/tango-ds/"
)
default
=
"https://git
lab
.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://git
lab
.desy.de/tango-ds/'
'deviceclasses/countertimer/gdd2"'
,
dest
=
"url"
,
default
=
""
)
...
...
man/glclone.1
View file @
cd7fb314
...
...
@@ -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://git
lab
.desy.de/api/v4/groups"
.IP "-l, --local-user"
get local user
.IP "-a, --all"
...
...
man/glpull.1
View file @
cd7fb314
...
...
@@ -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://git
lab
.desy.de/api/v4/groups"
.IP "-a, --all"
set filter to 'tango-ds'
...
...
man/glupload.1
View file @
cd7fb314
...
...
@@ -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://git
lab
.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://git
lab
.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://git
lab
.desy.de/tango-ds/DeviceClasses/CounterTimer/DGG2.git
.SH SEE ALSO
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment