waltligon / orangefs

Official repository for PVFS/OrangeFS
Other
62 stars 7 forks source link

2.10.0: use the same tag name as branch name causes issues with loading tar ball #102

Open kloczek opened 1 year ago

kloczek commented 1 year ago

Looks like orangefs uses v.2.10.0 as tag name and branch name. It causes the issue on loading autogenerated from git tag tar ball

[tkloczko@pers-jacek SPECS]$ wget https://github.com/waltligon/orangefs//archive/v.2.10.0/orangefs-2.10.0.tar.gz
--2023-10-04 09:36:05--  https://github.com/waltligon/orangefs//archive/v.2.10.0/orangefs-2.10.0.tar.gz
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 300 Multiple Choices
Length: 105 [text/plain]
Saving to: ‘orangefs-2.10.0.tar.gz’

orangefs-2.10.0.tar.gz                          100%[====================================================================================================>]     105  --.-KB/s    in 0s

2023-10-04 09:36:05 (57.5 MB/s) - ‘orangefs-2.10.0.tar.gz’ saved [105/105]

[tkloczko@pers-jacek SPECS]$ cat orangefs-2.10.0.tar.gz; echo
the given path has multiple possibilities: #<Git::Ref:0x00007fd7bc684d40>, #<Git::Ref:0x00007fd7bc69f0a0>
waltligon commented 1 year ago

Tomasz,

The tags and branches technically belong to different namespaces, so "git checkout tags/TAG" and "git checkout branches/BRANCH" are unambiguous. You can type just "git checkout TAG" or "git checkout BRANCH" which are not unambiguous.

GitHub’s docs claim: https://github.com/waltligon/orangefs/archive/refs/tags/v.2.10.0.tar.gz is the unambiguous way to download a tag-tarball and https://github.com/waltligon/orangefs/archive/refs/heads/v.2.10.0.tar.gz is the unambiguous way to download a branch-tarball.

https://docs.github.com/en/repositories/working-with-files/using-files/downloading-source-code-archives

We will look to see if we can make it easier to use.

Thank you Walt

On Oct 4, 2023, at 5:36 AM, Tomasz Kłoczko @.***> wrote:

Looks like orangefs uses v.2.10.0 as tag name and branch name. It causes the issue on loading autogenerated from git tag tar ball

@.*** SPECS]$ wget https://github.com/waltligon/orangefs//archive/v.2.10.0/orangefs-2.10.0.tar.gz --2023-10-04 09:36:05-- https://github.com/waltligon/orangefs//archive/v.2.10.0/orangefs-2.10.0.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 300 Multiple Choices Length: 105 [text/plain] Saving to: ‘orangefs-2.10.0.tar.gz’

orangefs-2.10.0.tar.gz 100%[====================================================================================================>] 105 --.-KB/s in 0s

2023-10-04 09:36:05 (57.5 MB/s) - ‘orangefs-2.10.0.tar.gz’ saved [105/105]

@.*** SPECS]$ cat orangefs-2.10.0.tar.gz; echo the given path has multiple possibilities: #, # — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.