Template:Repo link: Difference between revisions

Jump to navigation Jump to search
Added GitHub examples for zip file downloads for branches or commits (to be implemented).
(GitLab zip archive download support implementation and documention. This is now specified through the 'type' parameter being set to 'zip'.)
(Added GitHub examples for zip file downloads for branches or commits (to be implemented).)
Line 1,203: Line 1,203:
| path  = Aircraft/A-10-Bombable/A-10-Bombable-set.xml
| path  = Aircraft/A-10-Bombable/A-10-Bombable-set.xml
| pre  = $FG_ROOT
| pre  = $FG_ROOT
}}.
==== Zip archive download ====
===== Default =====
This is for https://github.com/Juanvvc/c172p-detailed/archive/master.zip.
{{obr}}repo link
{{!}} site = github
{{!}} proj = Juanvvc
{{!}} repo = c172p-detailed
{{!}} type = zip
{{!}} full = 1
{{cbr}}.
{{repo link
| site = github
| proj = Juanvvc
| repo = c172p-detailed
| type = zip
| full = 1
}}.
===== Branch =====
This is for https://github.com/Juanvvc/c172p-detailed/archive/release/2016.1.zip.
{{obr}}repo link
{{!}} site  = github
{{!}} proj  = Juanvvc
{{!}} repo  = c172p-detailed
{{!}} branch = release/2016.1
{{!}} type  = zip
{{!}} full  = 1
{{cbr}}.
{{repo link
| site  = github
| proj  = Juanvvc
| repo  = c172p-detailed
| branch = release/2016.1
| type  = zip
| full  = 1
}}.
===== Commit =====
This is for https://github.com/Juanvvc/c172p-detailed/archive/c9cef81a899201802b32109c43ca686bbeffdb42.zip.
{{obr}}repo link
{{!}} site  = github
{{!}} proj  = Juanvvc
{{!}} repo  = c172p-detailed
{{!}} commit = c9cef81a899201802b32109c43ca686bbeffdb42
{{!}} type  = zip
{{!}} full  = 1
{{cbr}}.
{{repo link
| site  = github
| proj  = Juanvvc
| repo  = c172p-detailed
| commit = c9cef81a899201802b32109c43ca686bbeffdb42
| type  = zip
| full  = 1
}}.
}}.


Navigation menu