alexmurray / emacs-snap

GNU Emacs in a snap
https://snapcraft.io/emacs
71 stars 13 forks source link

Dedicated 28.x channel #65

Closed rbobrowicz closed 11 months ago

rbobrowicz commented 11 months ago

Hello,

I'm a happy user of your emacs snap package and I'm always happy to see how promptly it is updated when upstream makes a new release. However, in this case I think the update might be a little too prompt.

I, like many others, use the doom emacs distribution which currently does not support 29.1. So after a snap update my emacs installation broke. I had to revert my snap upgrade using snap revert emacs which worked becasue I already had the old package. But I'm pretty sure that for new installs this won't be possible. I can't find any information on installing an old revision of a snap.

Googling around it seems the accepted solution is to have channels for old versions. For example the snap info lxd command gives:

[ ... bunch of stuff omitted for brevity ... ]
snap-id: J60k4JY0HppjwOjW8dZdYc8obXKxujRu
channels:
  latest/stable:    5.15-002fa0f  2023-07-04 (25112) 181MB -
  latest/candidate: 5.16-f2b0200  2023-07-25 (25353) 183MB -
  latest/beta:      ↑
  latest/edge:      git-752650e   2023-07-29 (25381) 183MB -
  5.16/stable:      5.16-f2b0200  2023-07-26 (25353) 183MB -
  5.16/candidate:   5.16-f2b0200  2023-07-26 (25353) 183MB -
  5.16/beta:        ↑
  5.16/edge:        ↑
  5.15/stable:      5.15-3fe7435  2023-06-28 (25086) 181MB -
  5.15/candidate:   5.15-3fe7435  2023-06-28 (25086) 181MB -
  5.15/beta:        ↑
  5.15/edge:        ↑
  5.14/stable:      –
  5.14/candidate:   5.14-7072c7b  2023-05-31 (24918) 178MB -
  5.14/beta:        ↑
  5.14/edge:        ↑
  5.13/stable:      5.13-8e2d7eb  2023-05-31 (24846) 174MB -
  5.13/candidate:   ↑
  5.13/beta:        ↑
  5.13/edge:        ↑
  5.0/stable:       5.0.2-838e1b2 2023-01-25 (24322) 117MB -
  5.0/candidate:    5.0.2-838e1b2 2023-01-18 (24322) 117MB -
  5.0/beta:         ↑
  5.0/edge:         git-cf3f355   2023-07-17 (25275) 118MB -
  4.0/stable:       4.0.9-a29c6f1 2022-12-04 (24061)  96MB -
  4.0/candidate:    4.0.9-a29c6f1 2022-12-02 (24061)  96MB -
  4.0/beta:         ↑
  4.0/edge:         git-407205d   2022-11-22 (23988)  96MB -
  3.0/stable:       3.0.4         2019-10-10 (11348)  55MB -
  3.0/candidate:    3.0.4         2019-10-10 (11348)  55MB -
  3.0/beta:         ↑
  3.0/edge:         git-81b81b9   2019-10-10 (11362)  55MB -

Would it be possible to have a 28.x channel, at least temporarily, that users could switch to while all their necessary emacs packages add emacs29 support?

I have never built any snap packages, so I don't know what kind of a maintanence burden this is, but users such as myself would greatly appreciate it.

Thank you.

alexmurray commented 11 months ago

Thanks for the suggestion - I have requested such a track to be created - https://forum.snapcraft.io/t/versioned-track-request-for-emacs-snap-28-x/36222 - and will let you know how that goes.

sergiusens commented 11 months ago

For what it's worth, it is now possible to install snaps by revision numbers (if they were at least once published to a channel)

martibosch commented 11 months ago

could anyone provide any revision number for 28.x? thank you!

alexmurray commented 11 months ago

Try 2081 if you are on amd64

alexmurray commented 11 months ago

Screenshot_20230806-213957.png

alexmurray commented 11 months ago

The 28.x track is now available - https://forum.snapcraft.io/t/versioned-track-request-for-emacs-snap-28-x/36222/2

$ snap info emacs
name:      emacs
summary:   GNU Emacs is the extensible self-documenting text editor
publisher: Alex Murray (alexmurray✪)
store-url: https://snapcraft.io/emacs
contact:   https://github.com/alexmurray/emacs-snap/issues
license:   GPL-3.0+
description: |
  Emacs is the extensible, customizable, self-documenting real-time
  display editor.

  Features include:
    * Content-aware editing modes, including syntax coloring, for many file types.
    * Complete built-in documentation, including a tutorial for new users.
    * Full Unicode support for nearly all human scripts.
    * Highly customizable, using Emacs Lisp code or a graphical interface.
    * An entire ecosystem of functionality beyond text editing, including a project
      planner, mail and news reader, debugger interface, calendar, and more.
    * A packaging system for downloading and installing extensions.

  This snap is built via the build.snapcraft.io service from the
  snapcraft.yaml definition at https://github.com/alexmurray/emacs-snap to
  ensure source and build transparency.
commands:
  - emacs.ctags
  - emacs.ebrowse
  - emacs
  - emacs.emacsclient
  - emacs.etags
snap-id:      4gE2S31SnK2LeqsZF8XTPuHOlqlzbqsW
tracking:     latest/beta
refresh-date: 2 days ago, at 15:19 ACST
channels:
  latest/stable:    29.1                   2023-08-04 (2163) 345MB classic
  latest/candidate: 29.1                   2023-08-04 (2163) 345MB classic
  latest/beta:      29.1                   2023-08-04 (2163) 345MB classic
  latest/edge:      30.0.50-master-dde3b93 2023-08-04 (2173) 346MB classic
  pgtk/stable:      –                                              
  pgtk/candidate:   –                                              
  pgtk/beta:        –                                              
  pgtk/edge:        30.0.50-master-dde3b93 2023-08-04 (2174) 345MB classic
  28.x/stable:      28.2                   2023-08-06 (2081) 241MB classic
  28.x/candidate:   ↑                                              
  28.x/beta:        ↑                                              
  28.x/edge:        ↑                                              
installed:          29.1                              (2163) 345MB classic