Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • gber/website
  • parodper/website
  • sunilmohan/website
  • pabs/blends-website
  • blends-team/website
  • moeller/website
  • jcristau/blends-website
7 results
Show changes
Commits on Source (2)
...@@ -47,11 +47,13 @@ list_salsa_projects () { ...@@ -47,11 +47,13 @@ list_salsa_projects () {
TOTAL_PAGES=$(grep ^X-Total-Pages: $HEADERS_FILE) TOTAL_PAGES=$(grep ^X-Total-Pages: $HEADERS_FILE)
TOTAL_PAGES=${TOTAL_PAGES#*: } TOTAL_PAGES=${TOTAL_PAGES#*: }
while [ $PAGENO -lt $TOTAL_PAGES ] if [ "$TOTAL_PAGES" != "" ] ; then
do while [ $PAGENO -lt $TOTAL_PAGES ]
PAGENO=$((PAGENO+1)) do
get_one_page PAGENO=$((PAGENO+1))
done get_one_page
done
fi
} }
mkdir -p $TARGETDIR mkdir -p $TARGETDIR
......
#!/usr/bin/python3
import gitlab
import os
PER_PAGE=99
BLENDSGROUPS=[ 'Debian 3D Printing Team'
, 'Debian Accessibility Team'
, 'Debian Astro Team'
, 'Debian Edu Packaging Team'
, 'Debian Electronics'
, 'Debian Games'
, 'Debian GIS Project'
, 'Debian Hamradio Maintainers'
, 'Debian IoT'
, 'Debian Med'
, 'Debian Multimedia Team'
, 'Debian PhotoTools Team'
, 'Debian R Packages Maintainers'
, 'Debian Science Team'
, 'Debichem'
]
def get_blends_groups():
blends_groups=[]
groups = gl.groups.list(all=True)
for group in groups:
# print(group.attributes['name'])
if group.attributes['name'] in BLENDSGROUPS:
blends_groups.append(group.attributes)
return blends_groups
# SALSA_TOKEN=os.environ['SALSA_TOKEN']
gl = gitlab.Gitlab("https://salsa.debian.org") # , private_token=SALSA_TOKEN) # anonymous access is fine
blends_groups = get_blends_groups()
for group in blends_groups:
print(group['name'], group['id'], group['path'], group['description'], group['full_name'])
#for project in git.getall(git.getprojects):
# print(project['name'], project['path_with_namespace'], project['id'])
# getrawfile(project['id'], 'master', 'debian/changelog')
# getfile(project['id'], 'debian/changelog', 'master')
\ No newline at end of file