Skip to content

Refactor install tests - #1033

Merged
matsl merged 2 commits into
masterfrom
pr_refactor_install_tests
Aug 9, 2026
Merged

Refactor install tests#1033
matsl merged 2 commits into
masterfrom
pr_refactor_install_tests

Conversation

@matsl

@matsl matsl commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

What

Remove repo folders. Just store each config in a file for each repo or
install method.

  • Makefile (install-all): Add install-melpa-releases target.

  • install-test/melpa-releases-emacs: New repo melpa/releases.

  • install-test/elpa-devel-emacs:
    install-test/elpa-emacs:
    install-test/elpaca-emacs:
    install-test/local-emacs:
    install-test/melpa-emacs:
    install-test/straight-emacs:
    install-test/tarball-emacs: Renamed and Removed Emacs 27 check.

  • install-test/local-install-test.sh: Use the renamed files.

  • install-test/tarball-install-local.sh: Renamed.

  • install-test/MANIFEST: Use the renamed files.

Why

Using separate folders for each repo or install method was not really
needed and created an unnecessary directory structure.

Note

use-package

The recent use-package definitions are not include in this refactoring. I prefer to do that in a separate PR to separate out the refactoring from the potential install changes. Maybe we also want to add more tests than just that Hyperbole was successfully installed!?

Further possibilities

Makefile still has targets for each install method. An alternative
could be to use a parameter. There would be less targets in the
Makefile that way. Today it looks like this:

make install-elpa-devel

With using a parameter it would look like this:

make install-test method=elpa-devel

matsl added 2 commits August 7, 2026 00:29
Remove repo folders. Just store each config in a file for each repo or
install method.

* Makefile (install-all): Add install-melpa-releases target.

* install-test/melpa-releases-emacs: New repo melpa/releases.

* install-test/elpa-devel-emacs:
  install-test/elpa-emacs:
  install-test/elpaca-emacs:
  install-test/local-emacs:
  install-test/melpa-emacs:
  install-test/straight-emacs:
  install-test/tarball-emacs: Renamed and Removed Emacs 27 check.

* install-test/local-install-test.sh: Use the renamed files.

* install-test/tarball-install-local.sh: Renamed.

* install-test/MANIFEST: Use the renamed files.
@matsl
matsl requested a review from rswgnu August 7, 2026 07:51
Comment thread install-test/elpa-devel-emacs
Comment thread install-test/local-install-test.sh

(require 'package)
(setq package-native-compile t)
(add-to-list 'package-archives '("melpa-releases" . "https://releases.melpa.org/packages/"))

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are starting to use melpa-releases rather than melpa-stable, then the 'devel' option should be melpa-snapshots rather than the older melpa.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just wanted to test how our Melpa release looked like so I added that as part of this refactoring. We have never tested "melpa stable" since it sort of was a discouraged repo from the start.

@matsl
matsl requested a review from rswgnu August 7, 2026 20:58
@matsl
matsl merged commit fa9bc5a into master Aug 9, 2026
4 checks passed
@matsl
matsl deleted the pr_refactor_install_tests branch August 9, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants