Opened 5 years ago

Closed 5 years ago

#52019 closed update (fixed)

hub: update to 2.2.5

Reported by: grimreaper (Eitan Adler) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: haspatch maintainer Cc:
Port: hub

Description

Attached is the update.

Attachments (1)

hub.diff (1.4 KB) - added by grimreaper (Eitan Adler) 5 years ago.
diff to update to 2.2.5

Download all attachments as: .zip

Change History (9)

comment:1 Changed 5 years ago by ryandesign (Ryan Schmidt)

Keywords: haspatch maintainer added
Owner: changed from macports-tickets@… to ryandesign@…
Port: hub added; devel/hub removed
Status: newassigned
Summary: devel/hub 2.2.5 update to latesthub: update to 2.2.5

Thanks!

comment:2 Changed 5 years ago by ryandesign (Ryan Schmidt)

Does this install for you? It fails to install for me at the destroot phase with:

DEBUG: Executing org.macports.destroot (hub)
xinstall: chdir(/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_hub/hub/work/hub-2.2.5)

Error: Failed to destroot hub: xinstall: Cannot stat: hub, No such file or directory

comment:3 Changed 5 years ago by grimreaper (Eitan Adler)

It works for me, but I'll debug a bit more: I'm running a fairly beta-ish system at the moment.

comment:4 Changed 5 years ago by raimue (Rainer Müller)

Apparently hub is now in a subdirectory. The xinstall command in destroot should look like this:

 destroot {
-    xinstall -W ${worksrcpath} -m 0755 hub ${destroot}${prefix}/bin
+    xinstall -W ${worksrcpath} -m 0755 bin/hub ${destroot}${prefix}/bin

comment:5 Changed 5 years ago by grimreaper (Eitan Adler)

Okay. The issue was me doing 'port install hub' instead of 'port install' so I was testing the original. :/

Changed 5 years ago by grimreaper (Eitan Adler)

Attachment: hub.diff added

diff to update to 2.2.5

comment:6 Changed 5 years ago by ryandesign (Ryan Schmidt)

Thanks. In your new patch, you removed the git dependency. Does hub no longer require git?

comment:7 in reply to:  6 Changed 5 years ago by grimreaper (Eitan Adler)

Replying to ryandesign@…:

Thanks. In your new patch, you removed the git dependency. Does hub no longer require git?

Strictly speaking, hub never /required/ git to run. Its a github client that can serve as a git pass-through. I chose to remove the dependency since there are use cases for installing it without git (though uncommon).

comment:8 Changed 5 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

Sounds good. r151422

Note: See TracTickets for help on using tickets.