New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update emacs-*-devel versions, fix variants and misc clean ups #1954
Conversation
…riants * set emacs-devel and emacs-app-devel to use HEAD * move dbus variant under emacs and emacs-devel * hide inline variant from emacs-app-devel * only patch src/dbusbind.c when building dbus variant * update git.url * bump revisions for emacs and emacs-app * remove emacs-devel src/dbusbind.c patch cos it's the same as emacs' References: https://trac.macports.org/ticket/56423 #1936 #1948
Notifying maintainers: |
Travis Build #2511 Passed. Lint results
Port emacs success on xcode9.3. Log |
@@ -52,18 +52,10 @@ if {$subport eq $name || $subport eq "emacs-app"} { | |||
} | |||
|
|||
if {$subport eq "emacs-devel" || $subport eq "emacs-app-devel"} { | |||
version 20170918 | |||
revision 1 | |||
version HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, we don't use HEAD as version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you use when a number doesn't make sense?
Ugh, I wasn't paying close enough attention; I shouldn't have merged that! |
What's the Macports convention for recompile-from-HEAD-everytime-I-force-reinstall then? |
There is none. |
IMO, there should be, and here it is. |
Using
And, if we don't bump revision from time to time:
|
Ports should be pinned to a specific version (here, git commit) so that builds are reproducible. Also, the buildbot has at least in the past had trouble with git:// urls, which is why we were using http fetch. I am going to change that back too. |
What's the point of a "devel" port if it has to be "reproducible"? The point of such ports is exactly because people want the bleeding edge, so if they want to update a devel port, they can just do a force reinstall. This isn't exactly a new concept, lots of linux package managers have something like this. Homebrew has dev channels, using HEAD is the closest to such concepts short of building out an entire infrastructure to support that. You are going to have to deal with tickets regardless of whether a devel port is pinned to a git revision or not. Its unstable nature by definition means lots of maintenance. If you set it to head, people can just forget about it and force a reinstall every time he wants a new build from HEAD. Also, I've never heard of a emacs revision that fails at building, so I don't think we should exaggerate its impact. |
@wyuenho e.g. if one of our patches fails to apply... This could happen. |
Fixed up in 8747064. |
There are no patches for the devel ports by default. The dbus variant for emac-devel and mutilfont_color patch for emacs-app-devel are both one-liners, so highly unlikely they'll break. I've already hidden the inline patch from emacs-app-devel. Anyway if you pin to a revision, might as well remove the devel ports and tell uses to go compile it yourselves... |
If you really want to, you can specify an arbitrary git.branch on the command line when installing. |
Is this yet another undocumented feature? |
It's documented, just not recommended for common use. Packaging is a form of curation. If you're getting a non-deterministic version of the software when you install, then as you say you might as well remove the devel ports and tell users to go compile it themselves. |
When MacPorts was hosted at Apple, we had to contend with the very restrictive settings of Apple's corporate firewall. Now that we are hosting elsewhere, those restrictions no longer affect our buildbot. However, they may still affect users who install from source from restrictive networks, so using http or https is probably the most compatible. |
Description
emacs|emas-devel|emacs-app|emacs-app-devel: bump revisions and fix variants
References:
https://trac.macports.org/ticket/56423
#1936
#1948
Type(s)
Tested on
macOS 10.13.5
Xcode 9.4
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?