Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#47953 closed defect (fixed)

myrepos @1.20150503 fetch failed

Reported by: martin.kuehl@… Owned by: gjasny@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: nottwo (Trannie Carter), xuchunyang (Chunyang Xu), ryandesign (Ryan Carsten Schmidt)
Port: myrepos

Description (last modified by mf2k (Frank Schima))

Fetching the current archive fails. See attached log.

Note that it tries to fetch from what I think is the master location as defined by the github port group:
https://github.com/joeyh/myrepos/releases/download/1.20150503/myrepos-1.20150503.tar.gz
which doesn't exist.

There is a source tarball available at
https://github.com/joeyh/myrepos/archive/1.20150503.tar.gz
but it has a different checksum.

The corresponding release page is https://github.com/joeyh/myrepos/releases/tag/1.20150503

Attachments (3)

main.log (4.9 KB) - added by martin.kuehl@… 9 years ago.
myrepos build log
Portfile-myrepos.diff (779 bytes) - added by xuchunyang (Chunyang Xu) 9 years ago.
Setup tarball URL manually, since github 1.0 group doesn't support(?)
main.2.log (6.1 KB) - added by martin.kuehl@… 9 years ago.
log failing to fetch vcsh @1.20150502_0

Download all attachments as: .zip

Change History (11)

Changed 9 years ago by martin.kuehl@…

Attachment: main.log added

myrepos build log

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to gjasny@…
Port: myrepos added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers myrepos), if any.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Cc: nottwo@… added

Changed 9 years ago by xuchunyang (Chunyang Xu)

Attachment: Portfile-myrepos.diff added

Setup tarball URL manually, since github 1.0 group doesn't support(?)

comment:4 Changed 9 years ago by nottwo (Trannie Carter)

Resolution: fixed
Status: newclosed

Sorry for breaking the port. I'm not sure how I managed to get it to install for me locally.

It's possible to formally create a Release that gets a URL of the form http://github.com/$account/$repo/releases/download/${tag_prefix}${tag}.tar.gz

Tags automatically get put into Releases with download URLs of the form http://github.com/account/repo/archive/${tag_prefix}${tag}.$suffix

Repository archives of commits and tags are also available to download from http://gihtub.com/$account/$repo/tarball/${tag_prefix}${tag}

The archive downloaded from a tag autorelease has a different checksum than a tag tarball due to their having different containing folder names.

I've dropped the "github.from_tarball releases" so it uses the default 'grab from tag' logic and updated the checksums.

r137292

comment:5 in reply to:  3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: chunyang@… ryandesign@… added

Replying to chunyang@…:

Setup tarball URL manually, since github 1.0 group doesn't support(?)

Please see #40518.

comment:6 in reply to:  4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to nottwo@…:

Sorry for breaking the port. I'm not sure how I managed to get it to install for me locally.

I'm not sure either... was there maybe a release uploaded at the time, but the developer has since removed it?

comment:7 in reply to:  4 Changed 9 years ago by martin.kuehl@…

Replying to nottwo@…:

I've dropped the "github.from_tarball releases" so it uses the default 'grab from tag' logic and updated the checksums.

Thanks!

I'm seeing the same problem with vcsh @1.20150502_0, should I open another ticket for that?

Changed 9 years ago by martin.kuehl@…

Attachment: main.2.log added

log failing to fetch vcsh @1.20150502_0

comment:8 Changed 9 years ago by nottwo (Trannie Carter)

Yes, same problem.

vcsh also has the issue where make all runs the tests which require some Perl modules, some of which aren't packaged by Macports.

On top of that, my Macports git doesn't create .git/branches, which the vcsh tests assume.

vcsh upstream is considering both of those issues.

I've fixed things for us in r137333 & r137334.

Note: See TracTickets for help on using tickets.