File: package-x.el.html
This file currently contains parts of the package system that many won't need, such as package uploading.
To upload to an archive, first set package-archive-upload-base to
some desired directory. For testing purposes, you can specify any
directory you want, but if you want the archive to be accessible to
others via http, this is typically a directory in the /var/www tree
(possibly one on a remote machine, accessed via Tramp).
Then call M-x package-upload-file, which prompts for a file to upload. Alternatively, M-x package-upload-buffer uploads the current buffer, if it's visiting a package file.
Once a package is uploaded, users can access it via the Package
Menu, by adding the archive to package-archives.
Defined variables (2)
package-archive-upload-base | The base location of the archive to which packages are uploaded. |
package-update-news-on-upload | Whether uploading a package should also update NEWS and RSS feeds. |
Defined functions (12)
package--archive-contents-from-file | () |
package--archive-contents-from-url | (ARCHIVE-URL) |
package--encode | (STRING) |
package--make-html-entry | (TITLE TEXT) |
package--make-rss-entry | (TITLE TEXT ARCHIVE-URL) |
package--update-file | (FILE TAG TEXT) |
package--update-news | (PACKAGE VERSION DESCRIPTION ARCHIVE-URL) |
package-gnus-summary-upload | () |
package-maint-add-news-item | (TITLE DESCRIPTION ARCHIVE-URL) |
package-upload-buffer | () |
package-upload-buffer-internal | (PKG-DESC EXTENSION &optional ARCHIVE-URL) |
package-upload-file | (FILE) |