summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-04-23Handle syntax errors in `Package-Requires:` more gracefullyelpa-adminStefan Monnier
* elpa-admin.el (elpaa--demote-deps-syntax-errors): New function. (lm-package-requires): Use it.
2026-02-25Merge branch 'elpa-admin' of git.sv.gnu.org:/srv/git/elpa/gnu into elpa-adminStefan Monnier
2026-02-25elpa-admin.el: Support building PDF manualsStefan Monnier
* elpa-admin.el (elpaa--call-sandboxed): Add hack to let LaTeX access and modify the /var/lib/texmf "cache". (elpaa--html-build-doc): Rename `html-dir` arg to `doc-dir`. (elpaa--pdf-build-doc): New function. (elpaa--build-Info-1): Use it. Rename `html-dir` arg to `doc-dir`. (elpaa--supported-keywords): Add `:pdf`. * README (=:pdf FLAG=): Document the new feature.
2026-02-22elpa-admin.el (elpaa--prune-old-tarballs): Improve last changeStefan Monnier
Make sure we compressed and remove duplicates *before* picking the versions to keep, otherwise we may decide to keep a file we later delete anyway.
2026-02-20elpa-admin.el (elpaa--prune-old-tarballs): Fix last changeStefan Monnier
2026-02-20elpa-admin.el (elpaa--prune-old-tarballs): Delete non-compressed tarballsStefan Monnier
2026-02-12elpa-admin.el: Fix a warning and a corner case failureStefan Monnier
* elpa-admin.el (elpaa--call-sandboxed): Filter out `$TMP/$TMPDIR`. (elpaa--write-pkg-file): Try and silence the "missing lexical-binding" warning.
2026-02-12GNUmakefile (pkgs): Use `PACKAGE_DIRS` to avoid non-directoriesStefan Monnier
2026-01-28elpa-admin.el: Tweaks found while playing with `emacs-lisp-intro-nl`Stefan Monnier
* elpa-admin.el (elpaa--call-sandboxed): Fix failure of `make`. (elpaa--makeinfo): Don't let a few broken references in the Texinfo prevent building the tarball.
2026-01-25Remove temporary files from resulting tarballStefan Monnier
* elpa-admin.el (elpaa--makeinfo): Delete 'tmpdir' before returning from the function.
2026-01-20elpa-admin.el (elpaa--write-plain-news): Tweak styleStefan Monnier
2026-01-18Generate "news" files when building tarballsPhilip Kaludercic
* elpa-admin.el (elpaa--make-one-tarball-1): Call new function. (elpaa--write-plain-news): Add new function.
2026-01-18Compress all tarballs on releasePhilip Kaludercic
* elpa-admin.el (elpaa--prune-old-tarballs): Remove logic to compress old tarballs. (elpaa--make-one-tarball-1): Run "lzip" immediately and create or update symbolic link to the new compressed archive as well.
2026-01-17List and link to all dependencies of a packagePhilip Kaludercic
* elpa-admin.el (elpaa--collect-reqs-1, elpaa--collect-reqs) (elpaa--html-insert-reqs): New functions. (elpaa--html-make-pkg): Inject dependency list.
2026-01-13(elpaa--makeinfo): Fix last change to account for the sandboxStefan Monnier
* elpa-admin.el (elpaa--makeinfo): Don't use a /tmp file.
2026-01-13* elpa-admin.el (elpaa--makeinfo): Use a temp subdir (bug#80133)Philip Kaludercic
2026-01-13Make `make worktrees` merge upstream with local changesStefan Monnier
* elpa-admin.el (elpaa--force-merge): New function. (elpaa--pull): Use it function to merge upstream changes with uncommitted changes, but don't try to merge upstream changes if there are remaining unresolved conflicts.
2025-11-27elpaa--wsl: Filter out more bogus requests and fix pp bugStefan Monnier
* elpa-admin.el (elpaa--wsl-read): Ignore all 4xx error codes. (elpaa--wsl-collect): Fix call to `pp-28`.
2025-11-07(elpaa--prune-old-tarballs): Delete sig file along with the tarballStefan Monnier
* elpa-admin.el (elpaa--prune-old-tarballs): Don't consider the ago of the sig file when deciding whether to delete files.
2025-10-22(elpaa--worktree-sync): Fix bug with funny refspecStefan Monnier
* elpa-admin.el (elpaa--worktree-sync): Improve regexp to detect clones that fetch all branches, so we don't misfire on "unrelated" refspecs like `+refs/pull/*:refs/remotes/origin/pull-request/*`.
2025-09-03elpa-admin.el (elpaa--string-to-seconds): Be defensive w.r.t broken timestrStefan Monnier
2025-09-03(elpaa--string-to-second): Cosmetic refactoringStefan Monnier
* elpa-admin.el (elpaa--string-to-seconds): New function. (elpaa--wsl-read): Use it.
2025-07-08README: Remove left-over mention of `:main-file`Stefan Monnier
2025-07-08elpa-admin.el (elpaa--doc-html-adjust-auxfiles): Reduce noiseStefan Monnier
2025-06-20elpa-admin.el: Try and build packages in dependency orderStefan Monnier
* elpa-admin.el (elpaa-batch-make-all-packages): Pass the list of remaining specs to `elpaa--make-one-package`. (elpaa--depends-on-pending-p): New function. (elpaa--make-one-package): Delay processing if we depend on a package that's "to be processed".
2025-04-22(elpaa--doc-html-adjust-auxfiles): Minimal sanity checkStefan Monnier
2025-04-21(elpaa--doc-html-adjust-auxfiles): Copy on-the-flyStefan Monnier
Since we have to adjust all the references, we may as well use the references we find to tell us what `:doc-files` should hold. So get rid of `:doc-files`. * elpa-admin.el (elpaa--pkg-root): Change arg and remember result in `pkg-spec`. Adjust all callers. (elpaa--supported-keywords): Remove `:doc-files`. (elpaa--section-to-html): Always scan to adjust links to local resources. (elpaa--build-Info): Empty the (previous) doc directory before proceeding. Don't copy resource files here any more. (elpaa--doc-copy-auxfiles): Delete function. (elpaa--doc-html-adjust-auxfiles): Disregard `:doc-files` and instead copy any reference found to an existing local file.
2025-04-18Add support for `:doc-files` in Org and HTML `:readme`sStefan Monnier
* elpa-admin.el (elpaa--section-to-html): Add `pkg-spec` arg. Use it in for HTML and Markdown to adjust links to `:doc-files`. (elpaa--html-make-pkg): Pass new arg for :readmes. (elpaa--doc-html-adjust-auxfiles): Add `offset` arg. Adjust callers.
2025-04-18Add new `:doc-files` for image files (bug#73425)Stefan Monnier
This is tentative and currently works only for the HTML docs. * elpa-admin.el (elpaa--supported-keywords): Add `doc-files` and sort. (elpaa--doc-copy-auxfiles): New function. (elpaa--build-Info): Use it. (elpaa--doc-html-adjust-auxfiles): New function. (elpaa--html-build-doc): Use it.
2025-04-17* elpa-admin.el (elpaa--write-pkg-file): Fix header line generationPhilip Kaludercic
2025-04-15(elpaa-batch-generate-autoloads): Add lexbind cookieStefan Monnier
2025-03-19elpa-admin.el: Remove `:main-file` and use `lisp-data-mode` lessStefan Monnier
* elpa-admin.el (elpaa--main-file): Don't pay attention to `:main-file`. (elpaa--supported-keywords): Remove `:main-file`. (elpaa--write-pkg-file): Use `lisp-data-mode` only for packages destined for Emacs≥28.
2025-02-13Use lisp-data-mode for generated *-pkg.el filesStefan Kangas
* elpa-admin.el (elpaa--write-pkg-file): Use lisp-data-mode for generated files. (Bug#76264)
2025-02-08(elpaa--worktree-sync): Don't assume we used `no-follow-links`Stefan Monnier
* elpa-admin.el (elpaa--parent-package): New function, extracted from `elpaa--local-branch-name`. (elpaa--local-branch-name): Use it. (elpaa--worktree-sync): Use it in case we're called with a pkg-spec that's been read without `no-follow-links`.
2025-02-08elpa-admin.el (elpaa--supported-keywords): Add `:parent--package`Stefan Monnier
2025-02-06* elpa-admin.el (elpaa--local-branch-name): Fix thinkoStefan Monnier
2025-02-05Improve support for "subpackages"Stefan Monnier
Try and provide a bit more support for packages built from the same branch, such as helm/helm-core. The idea is to try and keep a single local `elpa/<FOO>` branch (and a single local worktree) for all the packages coming from the same upstream branch. * elpa-admin.el (elpaa--get-specs): Turn `:url <PKGNAME>` into the usual `:url URL` format (and remember the parent in `:parent--package`). (elpaa--local-branch-name): New function. (elpaa--get-last-release, elpaa--check-sync-failures, elpaa--push) (elpaa--publish-package-spec, elpaa--insert-repolinks, elpaa--ortb): Use it. (elpaa--worktree-sync): Use it. Also, use a symlink for subpackages. (elpaa--batch-fetch-and): Skip subpackages.
2025-01-01Merge branch 'elpa-admin' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa ↵Stefan Monnier
into elpa-admin
2025-01-01elpa-admin.el (elpaa--release-email): Fix bug#74828Stefan Monnier
2024-11-05* elpa-admin.el (elpaa--wsl-read): Also ignore 408 failuresStefan Monnier
2024-11-04* elpa-admin.el: Test `status` before bothering to parse the requestStefan Monnier
(elpaa--wsl-line-re): Don't parse the request string. (elpaa--wsl-request-re): New regexp. (elpaa--wsl-read): Test `status` before bothering to parse the request.
2024-09-25Better propagate sync-failure infoStefan Monnier
* elpa-admin.el (elpaa--make-one-package): Do call `elpaa--check-sync-failures` even if `elpaa--metadata` signaled an error.
2024-08-16elpa-admin.el (elpaa--wsl-read): Filter out status 400 and entries with a "/"Stefan Monnier
2024-08-16Merge make-atom-feed, add batch-make-atom-feedStefan Monnier
2024-08-16* elpa-admin.el (elpaa--render-atom): Fix timestampStefan Monnier
We ended up using the time/date of the oldest file. Rather than change it to the date of the newest file, just use the current time.
2024-08-16(elpaa--make-atom-feed): Avoid parsing the `elpaa--url`Stefan Monnier
* elpa-admin.el (elpaa--make-atom-feed): Don't split the URL into domain+path any more. Use names relative to the current dir instead. (elpaa--rfc4151): New function. (elpaa--render-atom): Use it.
2024-07-22Merge remote-tracking branch 'refs/remotes/origin/elpa-admin' into elpa-adminStefan Monnier
2024-07-22* elpa-admin.el (elpaa--wsl-collect): Don't get confused by ctime changesStefan Monnier
2024-07-02(elpaa--wsl-read): Ignore 404sStefan Monnier
* elpa-admin.el (elpaa--wsl-line-re): Catch the status. (elpaa--wsl-read): Ignore 404s.
2024-07-02* elpa-admin.el (elpaa--wsl-read): Improve info messagesStefan Monnier
Add sync/build-failure special cases. Pass the whole line as well to `fn`. (elpaa--wsl-one-file): Include the whole line in the information message. (elpaa--wsl-scores): Reindent.