-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always set Package-{Version,Revision} header in main library only
- Set these headers in the main library of the package, even for packages that are distributed as tarballs. Do this to ensure that the information in that library is accurate and does not conflict with the information in "*-pkg.el". - Remove these headers from all other libraries, to ensure they do not contain inaccurate information. We could instead correct the values in these libraries, but since only the main library should feature these headers, we don't do that. - When distributing a singe-library package without using a tarball (which Melpa stopped doing a long time ago, but which theoretically is still supported), no longer set the X-Original-[Package-]Version header go the original value of [Package-]Version, and use the same Package-Revision header we now use in multi-library packages instead of Package-Commit, which we used before. - Try harder to find the best possible location to insert these headers.
- Loading branch information
Showing
1 changed file
with
47 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters