Commit 7fb732bb authored by Andreas Tille's avatar Andreas Tille
Browse files

Alternative ws to deal with Git maintained upstream projects without revision tags

parent cd816451
Loading
Loading
Loading
Loading
+20 −2
Original line number Diff line number Diff line
@@ -28,11 +28,29 @@ version=4
# http://pypi.debian.net/#module#/#module#-@ANY_VERSION@@ARCHIVE_EXT@

# Bitbucket
# https://bitbucket.org/<user>/<project>/downloads .*/@ANY_VERSION@@ARCHIVE_EXT@
# https://bitbucket.org/#user#/#project#/downloads .*/@ANY_VERSION@@ARCHIVE_EXT@

# Gitlab
# opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/<project>-$1\.tar\.gz/g \
#  https://gitlab.com/<user>/<project>/tags .*archive\.tar\.gz\?ref=v?(\d\S*)
#  https://gitlab.com/#user#/#project#/tags .*archive\.tar\.gz\?ref=v?(\d\S*)

# Any Git repository lacking versioned downloads
#
# Option 1: mode=git
# ------------------
#
#opts="mode=git,pretty=0.0+git%cd.%h" \
#    https://github.com/#user#/#project#.git HEAD
#
# Option 2: github_commits_package_json (only for Github)
# -------------------------------------------------------
#
# opts="uversionmangle=s/.*date=(\d{4})-(\d\d)-(\d\d)T.*/#VERSION_ma_be_0.0#+git$1$2$3/, \
#    filenamemangle=s/.*date=(\d{4})-(\d\d)-(\d\d)T.*/#VERSION_ma_be_0.0#+git$1$2$3.tar.gz/, \
#    repack,compression=xz" \
#    https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=github_commits_package_json/#user#/#project# \
#    .*/archive/(.*\.tar\.gz?.*)


# if tweaking of source is needed
# \