6,566
edits
(Support for the tag parameter.) |
(Expanded the examples to match {{gitlab url}}, to cover paths, branches, tags, commits, different views, and line numbers or ranges.) |
||
Line 28: | Line 28: | ||
| git = 1 | | git = 1 | ||
| examples = | | examples = | ||
=== No parameters === | |||
{{obr}}gitlab source{{cbr}} | |||
{{gitlab source}} | |||
=== Project === | |||
{{obr}}gitlab source{{!}}tortoisegit{{!}}tortoisegit{{cbr}} | |||
{{gitlab source|tortoisegit|tortoisegit}} | |||
==== User repository ==== | |||
This is for https://gitlab.com/emilianh/Lockheed-L10-Electra. | |||
{{obr}}gitlab source | |||
{{!}} user = emilianh | |||
{{!}} repo = Lockheed-L10-Electra | |||
{{cbr}} | |||
{{gitlab source | |||
| user = emilianh | |||
| repo = Lockheed-L10-Electra | |||
}} | |||
==== File ==== | |||
This is for https://gitlab.com/fg-radi/osm2city/blob/master/osm2city.py. | |||
{{obr}}gitlab source | |||
{{!}} proj = fg-radi | |||
{{!}} repo = osm2city | |||
{{!}} path = osm2city.py | |||
{{cbr}}. | |||
{{gitlab source | |||
| proj = fg-radi | |||
| repo = osm2city | |||
| path = osm2city.py | |||
}}. | |||
==== File and a branch ==== | |||
This is for https://gitlab.com/tortoisegit/tortoisegit/blob/REL_1.8.16.0_EXTERNAL/release.txt. | |||
{{obr}}gitlab source | |||
{{!}} proj = tortoisegit | |||
{{!}} repo = tortoisegit | |||
{{!}} branch = REL_1.8.16.0_EXTERNAL | |||
{{!}} path = release.txt | |||
{{cbr}}. | |||
{{gitlab source | |||
| proj = tortoisegit | |||
| repo = tortoisegit | |||
| branch = REL_1.8.16.0_EXTERNAL | |||
| path = release.txt | |||
}}. | |||
==== File and a commit ==== | |||
This is for https://gitlab.com/extra500/extra500/blob/20ac59/extra500-set.xml. | |||
{{obr}}gitlab source | |||
{{!}} proj = extra500 | |||
{{!}} repo = extra500 | |||
{{!}} commit = 20ac59ad | |||
{{!}} path = extra500-set.xml | |||
{{cbr}}. | |||
{{gitlab source | |||
| proj = extra500 | |||
| repo = extra500 | |||
| commit = 20ac59ad | |||
| path = extra500-set.xml | |||
}}. | |||
==== File with line number ==== | |||
This is for https://gitlab.com/mdanil/Tu-144/blob/master/Models/Tu-144.xml#L8-14. | |||
{{obr}}gitlab source | |||
{{!}} user = mdanil | |||
{{!}} repo = Tu-144 | |||
{{!}} view = blob | |||
{{!}} branch = master | |||
{{!}} path = Models/Tu-144.xml | |||
{{!}} line = 8-14 | |||
{{cbr}}. | |||
{{gitlab source | |||
| user = mdanil | |||
| repo = Tu-144 | |||
| view = blob | |||
| branch = master | |||
| path = Models/Tu-144.xml | |||
| line = 8-14 | |||
}}. | |||
==== The FlightGear Multiplayer server software ==== | ==== The FlightGear Multiplayer server software ==== | ||
This is for https://gitlab.com/fgms/fgms-0-x.git. | This is for https://gitlab.com/fgms/fgms-0-x.git. | ||
Line 35: | Line 126: | ||
{{!}} repo = fgms-0-x | {{!}} repo = fgms-0-x | ||
{{!}} type = git | {{!}} type = git | ||
{{cbr}}. | {{cbr}}. | ||
Line 42: | Line 132: | ||
| repo = fgms-0-x | | repo = fgms-0-x | ||
| type = git | | type = git | ||
}}. | }}. | ||
Line 67: | Line 156: | ||
| repo = extra500 | | repo = extra500 | ||
| branch = FG/2016.1 | | branch = FG/2016.1 | ||
| type = git | | type = git | ||
| full = 1 | | full = 1 | ||
}} | }} | ||
| lang = "sh" | | lang = "sh" | ||
}} | }} | ||
==== Raw view ==== | |||
This is for https://gitlab.com/extra500/extra500/raw/20ac59/extra500-set.xml. | |||
{{obr}}gitlab source | |||
{{!}} proj = extra500 | |||
{{!}} repo = extra500 | |||
{{!}} view = raw | |||
{{!}} commit = 20ac59 | |||
{{!}} path = extra500-set.xml | |||
{{cbr}}. | |||
{{gitlab source | |||
| proj = extra500 | |||
| repo = extra500 | |||
| view = raw | |||
| commit = 20ac59 | |||
| path = extra500-set.xml | |||
}}. | |||
==== Commit ==== | |||
This is for https://gitlab.com/extra500/extra500/commit/20ac59ad. | |||
{{obr}}gitlab source | |||
{{!}} proj = extra500 | |||
{{!}} repo = extra500 | |||
{{!}} view = commit | |||
{{!}} commit = 20ac59ad | |||
{{cbr}}. | |||
{{gitlab source | |||
| proj = extra500 | |||
| repo = extra500 | |||
| view = commit | |||
| commit = 20ac59ad | |||
}}. | |||
==== Tree view at a given commit ==== | |||
This is for https://gitlab.com/extra500/extra500/tree/20ac59ad. | |||
{{obr}}gitlab source | |||
{{!}} proj = extra500 | |||
{{!}} repo = extra500 | |||
{{!}} view = tree | |||
{{!}} commit = 20ac59ad | |||
{{cbr}}. | |||
{{gitlab source | |||
| proj = extra500 | |||
| repo = extra500 | |||
| view = tree | |||
| commit = 20ac59ad | |||
}}. | |||
==== Main views ==== | |||
===== History view ===== | |||
This is for https://gitlab.com/mailman/mailman/commits/master. | |||
{{obr}}gitlab source | |||
{{!}} user = mailman | |||
{{!}} repo = mailman | |||
{{!}} view = commits | |||
{{cbr}}. | |||
{{gitlab source | |||
| user = mailman | |||
| repo = mailman | |||
| view = commits | |||
}}. | |||
===== History view from a commit ===== | |||
This is for https://gitlab.com/mailman/mailman/commits/1236a9cf. | |||
{{obr}}gitlab source | |||
{{!}} user = mailman | |||
{{!}} repo = mailman | |||
{{!}} view = commits | |||
{{!}} commit = 1236a9cf | |||
{{cbr}}. | |||
{{gitlab source | |||
| user = mailman | |||
| repo = mailman | |||
| view = commits | |||
| commit = 1236a9cf | |||
}}. | |||
==== Zip archive download ==== | ==== Zip archive download ==== |