Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f8d281d

Browse files
maximehtpetazzoni
authored andcommitted
docs/manual: Modify GitHub FOO_SITE explanation
GitHub has changed its layout, there is no longer any green nor grey button, it's a link with a tiny icon that indicates if it's uploaded by the maintainer or not. In order to not confuse anyone, adding an image should make it clear. Signed-off-by: Maxime Hadjinlian <[email protected]> Reviewed-by: Lionel Orry <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
1 parent ad53b30 commit f8d281d

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

docs/manual/adding-packages-tips.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,13 @@ need to do AUTORECONF).
6363

6464
You can see on the release page if it's an uploaded tarball or a git tag:
6565

66-
- If there is a green download button, like
67-
https://github.com/zedshaw/mongrel2/releases/tag/v1.9.1[mongrel2], then it
68-
was uploaded by the maintainer and you should use the link of that button to
69-
specify +FOO_SITE+, and not use the 'github' helper.
70-
- If there is grey download button, like
71-
https://github.com/xbmc/xbmc/releases/tag/13.2-Gotham[xbmc], then it's an
72-
automatically generated tarball and you should use the 'github' helper
73-
function.
66+
image::github_hash_mongrel2.png[]
67+
68+
- If it looks like the image above then it was uploaded by the
69+
maintainer and you should use that link (in that example:
70+
'mongrel2-v1.9.2.tar.bz2') to specify +FOO_SITE+, and not use the
71+
'github' helper.
72+
73+
- On the other hand, if there's is *only* the "Source code" link, then
74+
it's an automatically generated tarball and you should use the
75+
'github' helper function.
18.6 KB
Loading

0 commit comments

Comments
 (0)