• Bug#1103033: emacs: generate versioned Provides for all :core packages

    From Sean Whitton@21:1/5 to Xiyue Deng on Fri Jul 4 14:40:01 2025
    Hello,

    On Thu 03 Jul 2025 at 09:51pm -07, Xiyue Deng wrote:

    It looks like the upstream discussion[1] may still go on for a while:
    the direction has consensus, while the details of the functions are
    still under discussion.

    In the meantime, I wonder whether we can move forward on the Debian side
    and have this in Trixie (with an unblock request), which will help users
    who upgrade from Bookworm avoid surprises when older versions of addons
    are installed. My branch[2] is updated to the latest version of
    upstream bug. Patches are also attached.

    I don't think the full change is appropriate for trixie, and I would
    like to see the upstream changes committed to Emacs 31 before
    backporting them here.

    I think though that we could add the necessary dependency relations
    manually to deal with potentially broken upgrades. There is no need to
    do every built-in package, right? We just need to add values for those built-in packages that were RM'd for trixie?

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmhnyk8ZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQADdD/4i3JvnB8qGYEdk/qcg2Wbm y9tPprZrakKBwKXM5zyQPINXNv6HmoN+yroSiuLjjzZmazd5INXvZ29ELkE49k+a sGvHbbq77i0OFxXMdFLC3QOorehZ3nsZ/KMRbOPCRSprJETc+T2mQwWgcpjyDQ6P j5bplfcV/yxzGQLJxFPmELAqgxA7TB4VUwcAvZWfb/dCPLUpu7nnR45n5jprjeHH P7kn9acFwgmm+SuSbSqCVxnwd09YCGIaR6VUenvrZ56CgeeSmaEsSWKirFZfARJU p8yxecTbmP5LgvuQ9XEsQ6xV4GFAhe5EHsPYqVTdB36jjOSW/Ty3Q3Cm2gM3Oglq SVmV2zeuI8Q32picU2fXLYBYCfyE+UIk4PtEqxsQ495UpZi11Au11XTslzhlGMdK Mc8zIzqPgQSDsz3Wxja0Ub+ds/crPSt4ZiKsS3dQkMEtT4hZHfOHEKWst3tdSodv AjUn825wY75mf9dHPtSzpj6byk6A4RNKU1R0NnJu/BtEJWOOWUjSETTJ4QuGuKHM 77l4fQcV+JLId8Y/PBft2vohF7EthsWdhuHPWGrMeuh3EbvOk8vHUeG+txkqtAr2 PjHN1nSOGnwE/ZylbIQM8i6/5ZjR+vpIJbOcGZpw2s8XBDQDsE7+aR5AoemXuqOQ 1f0Ioi5w4NktgUZW/DJQmw==pyz0
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Sean Whitton@21:1/5 to Xiyue Deng on Fri Jul 4 22:50:01 2025
    Hello,

    On Fri 04 Jul 2025 at 11:47am -07, Xiyue Deng wrote:

    I think there are values for including other packages which helps with security updates. For example, we have Org 7.9.11 shipped with Emacs
    30.1; later if a security bug is found in 7.9.11, and Emacs 30.2 ships a newer version of Org to fix that, this gets automatically taken care of
    by this.

    We would have to upload security updates for both packages anyway,
    though.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmhoPbUZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQDm+D/99llbANDXg9EmsE71LOU/B oZSGE4PriN+lCh5b0JPxuQDuTKFP5K9bbWYy06tx85UJqKaCN4GhrZ7Alhx7GEx0 uZZLc94dBuM8z0B5HAZFir5J6LgYRptKxNZYQQs3yHVJAtJoYIkp0pxS4gcTG8SO GjOt8wFw8qh9/SvW9MxfU1MLPS/Yp3gYYycPvHrHJlSWkGcdTa5jF/16NahrvgeS fkTVdwcO9quewOoqtycwUHoRoHooRj0+obZNKWXPBe+d2w8IvXhSt9sF7Xp95ROb wboACwiKpBGgEpzdQZwoy/gaIddYHIRIgt5JEsedWMS0TzdNbPoIFOZPcmchfWUG vz/8NR3yZIHlVJVktReJO3d7ZigdHnd856pmx2N25J6/sGbftzIXCzeENAdQ1Jng pt7CGJsDQDtTWYuo+VQplsjCyaS7mVB4nOgNn3A0//8N7+QkMYRpdUWCq6UI7YNl d6gLXKZCKGpKLKdIjiJTBnD/uzpbNicZbRi8+HwqR63KKUr/Btx/0ecN8MyP8APb ohARBDn9gr6CevaIRGNNClyIgZcK2ytPHDKXnDVZFLmpM0xOEBZfR5GTunL9cfSc FJ8ERVwQ0w+bwriuDEUvQ3nSiPE47Lp/lrvCKHN++0j3aLlII1l0LPJkDB77ORCF 3Ar9sXTmMrXxyPG89x4UOA==2+Bh
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Sean Whitton@21:1/5 to Xiyue Deng on Tue Jul 15 11:20:01 2025
    Hello,

    On Mon 14 Jul 2025 at 03:33am -07, Xiyue Deng wrote:

    FYI, upstream merged my proposed patch in bug#78844[1]. I'd still
    advocate for its inclusion in Trixie to make the upgrade experience
    smoother for dropped packages (e.g. eglot, project, etc.) Though I do acknowledge that we are already in the late stage of the Trixie release cycle, and it's probably safe to maintain the status quo. If the latter
    is chosen, I wonder whether this may still be a good candidate for a
    future stable update, or only be suitable for a backport?

    Unfortunately I don't think we can include it in trixie. The Release
    Team's freeze policy says we should upload only targeted fixes. And the
    Stable Release Managers only allow fixes for bugs of Severity: important
    or higher for stable updates, but this bug is wishlist.

    But I think we can do the following:

    - Let's start preparing the versioned Provides generation in
    experimental. Assume I'l backport your patch in #78844 to Emacs 30.
    Can you prepare a patch implementing the Provides generation?

    - If you want to work on it, we can propose adding manually generated
    Provides to trixie.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmh2G+wZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQP8bEACKkg5XmbI4mVsbboNO9bjB 1TuZa6iWUbRRCL4lUGlQxysYrvilZ8+2UgbmOOT6KReq2zC4x9rLwBecyTkH+eyi YmJ6suTNB73lFGII6ZuM2XJM01Ail3ia9C1OjF+lJAsTfa5sEMBsQ7T5UQGIwjbi 0IBULNAiGNLtTwx9GImIXjic/zw9iiqxY0ApXA0Pf11f1sRxuRGMQWnCDrD3zs4W PfGNbRAFMfuUJCTmjhb36FHOd3S4e3ZuXRz2iCYU3A/638tK2ybqvL6fHGmVzp4+ zamQLzTC1RQwPUwQjaFaoqzveSZElQJbfSrz/OMWEFDtnnbD8JUEtCVBngpP8n34 ce0VdU8G9l77xf1CHVWVo9tOoI5GzHOp3iLZx24B49CNA5d2gAwq7zqySTh57UWo 1MQNst2/5n+OgyLhnnkLOd9RrN4O/vVdiE1PupOLC6NQ4JjeBVDfRFzEunVzLbns XlqOiJ8wog9L8UF71yARkaztP2GOZFfMQXWt2cCpKPpoXHnAByGpeMRrRCccleiu oufFlnVVOA7eno6EKvxhdURyG5vHLIO1qwMd0DpZtqQ6zj0wfCi83UdRdBiZLZte 7YayggOwHuvqt07O1PcLEBZtX5/DZUIy1n7bJ5xSc6zVuN2+Jzc4aFtHPIc0I/E0 f37k83tbHOHn81BBVCNJtQ==cnoK
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Sean Whitton@21:1/5 to Xiyue Deng on Tue Jul 15 23:00:02 2025
    Hello,

    On Tue 15 Jul 2025 at 11:46am -07, Xiyue Deng wrote:

    Xiyue Deng <[email protected]> writes:

    [...]
    But I think we can do the following:

    - Let's start preparing the versioned Provides generation in
    experimental. Assume I'l backport your patch in #78844 to Emacs 30.
    Can you prepare a patch implementing the Provides generation?


    The patches I attached to [3] implemented this (as well as in my
    branch[4] which could be newer). It didn't backport bug#78844 in the
    Emacs source, but host identify copies of the new functions in the
    provides/breaks/replaces generation code (which are guarded by fboundp
    so that the Emacs implementations will be used when available in Emacs
    31). I think this has the advantage that we won't hit any conflicts
    when upgrading.


    I just realized that you have already done the backporting of #78844.
    The patches still work (as it's guarded by fboundp), but do you want me
    to remove the vendored functions?

    Yes, please prepare a patch against current debian/d/sid/master.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmh2wBYZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQMxXEACR4sjhD0P0ds1FXj1fxM13 U+xxearT1fXEAiZpg9JqBxV7B08URwpnxUfpMUAb99PXTAT0f/oFYiDiqMvGC7AH KxlN5Q1D+ebGs9PY4lR+8d5Itn27Jf5/vbXV/8xIZAvF44GR3yLGNczLylnDF45q /p1pBmsRhiAOswc4ovxTjN+gOq0fkO/RWKbTVlQD8WcEKYKea/0LVKsCosfnDFP1 jDunqdStANxhZBuuZKeEndOefZkVWLRP+8wPlTgYrcmvhFme6DSuKbxOVb+SY/pL Bu6ZRppZ/Z1WEsKHdlC4kG1IKtDcYVaY/CUmw1I/MRRlp1wXiTjljyQqYAEBpCcT /LHdGt5yUvFo1NB0aCyPUogUxgx7D5CjqJv8aN7mp/6xYhJqBYLXaVx5hVlKBEWL PeXjNoEDT8CalB5ED6iMaONoE4Ajo8sPtcpT9m+xapM6vkUOglg2Y6vQ5rJEYBSw XvW27IChnquubRVmFQyJ7OreMnoLA1BB3un6BF7BQhOViUHkJn6GkhFhd56fZrY8 RXPkqMkcSJBuD79DcM4K60iLhYFlko8OU+a9dE01DO2lfK66CQu9I12aP4WQvqIl J51r2QHALAPRQAiAtaYlJjCtbic2rBhz6eyQ2J+SYMP8B7G0PRRzHpskuiVIRyXb Fjlhf4m8GLrWM1G3dWK5Ag=�dY
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usen
  • From Sean Whitton@21:1/5 to All on Wed Jul 16 11:40:01 2025
    Hello Xiyue,

    This is great work. Thank you for the respin. I'd just like to ask a
    few questions about it.

    - What is the emacs-provided-package-versions variable for? I don't
    think it gets set anywhere?

    - Why pregenerate emacs-common-substvars? Why not generate it during
    the build using the version of Emacs we just built?

    --
    Sean Whitton

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to Xiyue Deng on Wed Jul 16 12:10:01 2025
    Hello,

    On Tue 15 Jul 2025 at 04:15pm -07, Xiyue Deng wrote:

    Sean Whitton <[email protected]> writes:

    Hello,

    On Tue 15 Jul 2025 at 10:45am -07, Xiyue Deng wrote:

    Acknowledged. I thought there was a bug report from Stefano about the
    upgrading issue regarding Emacs backports, which turns out to be just an >>> email to debian-backports[1]. That said, Cyril seemed to support this
    idea for a better upgrade experience, though not officially as a RT
    member. As the issue is real, maybe we can file this as an important
    bug? (It would sound a bit like tricking the system though but not
    really :P)

    Still, I'm also OK with postponing this to Forky to avoid causing
    additional issues.

    No -- my suggestion is to add manually generated
    Provides/Conflicts/etc. to trixie to fix this problem.


    Just to confirm: is the substvars based solution OK for Trixie (as done
    in my updated patchs in my other email), or were you expecting the provides/replaces info directly put in d/control (like my earlier
    approach based on d/control.in but only keep the generated d/control)?

    I mean the latter.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmh3Z7YZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQAemD/4kqQxVnz83lhYLVsRbzFQx KgsoaF0+opOoUt+NJO6SylepjTFsaIAGgeoFSJh7MK0kn+2oUsoJtbQcfpiSS7qw j26LQz0bXLnuQonVj0d3Btwdx6jCYZzbR5/WbZhW/X0X4/iJstmlGVhHXfSzqfif v/lgW4q5HT02KkoWGHQCtIQXuEKDRTmIS0+xou35LyI1U571kXVf5YGu2A5xOaNz nBaADHOgEhgunCAg02ryEYlMhNfZmBFI2L0wkTPsarCs/yMdoHnSaOBCKWX6pQ7F RNZ5p0TQp62JcgZl7BQquXjEUnAFhgwTvIzFy5VJ9sPPTOdR4sEEuB0z91Zg1QLI D6RLx55o8mD37KzHkiV6QjBWCpYHcFKsQnO1/7ikzkI7mDch/uLugaJPuHotg8kc oNeNaVvNe3LrvTO5hKTIwrOQximTkz+R1FeVAuRnM3ioubgtPPXJjQYdk1ktNFH5 4vrK4q/r8QTUnRcxExmrpKvd5Obk8FNLfVCVhjFsRUNvaQZkQvVVtCD25xO1B6NS WbHvyqg/oRmksCjoGz+K098pe6dXV7SD1sGXeRdoXAWYQY8zU1Lgwx4ybPfqGgqN J8l57hVGJA50j+v1ISgzCaY9ZubusZEtOc8kpYqpWQBwVmCJSC1zW5J/6nkvA1R1 fxfkKDlPmw1HykLG3bq47A==2LnC
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Sean Whitton@21:1/5 to Xiyue Deng on Wed Jul 16 20:40:01 2025
    Hello,

    On Wed 16 Jul 2025 at 10:30am -07, Xiyue Deng wrote:

    Sean Whitton <[email protected]> writes:

    Hello Xiyue,

    This is great work. Thank you for the respin. I'd just like to ask a
    few questions about it.

    - What is the emacs-provided-package-versions variable for? I don't
    think it gets set anywhere?


    It's used later in the `emacs-provided-package-versions` function, which
    will populate it with a mapping of package name to version. This will
    then be used later to actually generate the substvars values.

    I don't think it needs to be a defvar. It can be a lexical variable
    inside that function.

    It also gets regenerated with `debian/rules debian-sync': notice that
    the build rule is marked `.PHONY'. I think this should be run on each
    update according to d/README.source. Maybe this could be added to dh_auto_clean in case someone (like me) forgets to run it by hand?

    Why not generate it during the build? That's how other substvars work.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmh36CAZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQFG2D/90hKFPOaVjq1gCXr6yatJ/ 7/zZ7IDBtjxl5ydfQWaeks4gDCYyGD7r2Bl2MXD51u0WOkXBVnRVGZHDriobUuqD f68S3ZDCdKiVw2G3p3z3HHKVw73t4Mx0rqyvOrQiKZ5BnmOhCsKcEc0mzC9wcyQK HL+iur7pSlGdCXiBq8/pHgKsPrM1PlQ3QpWdOyS5IP+hCepSM9lM76F6gWm8YNBy a/o4mDTWG6U8+q4bNcgQf5fM4/G+XTvWyF6CkDf9bS8HBAu3XRmPQucnLYaa0tsK XEojqg23snZp3LdUzxcpn1VHFqyNH++I03sO+wzQ54TF/CVvGT+jHC/eNWYskTNj SjhkrotmOABQk20iVOsy0gLupqgL9PRRr+NmpHkT8LySia5PmQE41woYTWyXoSS0 k/GoJ+g5v/0yhPJ/6YqF2RpoCAfRyb/i1MiNKs6WkKahEx1mEHvuxLvBkMekWasG p3lqLb8t3chMw4NADAJ/W8bahSZ9W3iRiSE21AUGlFwCBAvxzzmsJrcY65Oozsr2 gdHhfsbiczEfECk5zlhrGop7JAKm2s5dKaTVy+sENNHxYwKvaGM9hL94A+qz4KRB k30rJ8ag5+T097lhvHFfLlQuvaGxGsKiW4tEK2LTVYGI/OWgZOWTQOndP1OVChXV ads/25x4wNByl3Fe/xmGqQ==mIbq
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Sean Whitton@21:1/5 to Xiyue Deng on Fri Jul 18 11:20:01 2025
    Hello,

    On Wed 16 Jul 2025 at 11:59am -07, Xiyue Deng wrote:

    This makes the development easier so that I don't have to sbuild it
    every time to test (which takes ~20min for me). Also, running the
    script needs a working emacs executable (I'm using `/usr/bin/emacs')
    which is not available yet during build (or it can some built emacs executable in some build-path, but I think it's a bit too fragile).

    That wouldn't be fragile, and it's what we should be doing. We don't
    want to use /usr/bin/emacs. We want to be sure we are using the latest information, from the thing we are building.

    And I realize that because I removed the vendored lisp functions to get
    the built-in package information, the script currently cannot work until Emacs with the backported package.el is released. So probably we should upload -6 first (in experimental)?

    This would also be solved by using the Emacs that's part of the build.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmh6CsIZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQPM7D/9bJxC1pnJokfnJpbnlIEV3 LiGCYtagivYdXbXLTea+kBnugMpGP+nABJ7e2yEdLa7OJq/X6gBZErcb9NM8PFcI 7Ku8usQNucjce8WKIcl7V2ThaAq+3mu2Wo3rsHLL1xOmP/RaoXCw6hfV6rnel+WO NpG7+1tLYzonwMY39OdUZb6LYvfSSOodMf1YI5DO5E6EnCkg0duMfpq7EJAE7n1A slrbEfg8CReqvNQ49oeZIj2ELhsv2kyvFN+pQziaKLwP0Uit81S1hCJUXIdLpPko UgGnah5tJ11iB2WEO4+p/pNodRVsNrplyppvJOjjdBEVYGdlGc+f6JavuT3I0J5o v1ZnZOTrxRGPy/FcG+3W/y3dDcEiD5OEwABbFZAVzewFWHmxRj7h3eN+qOapc4+F 0oXgOPGLmWlAPZ71/FvjKQaJRvXGsJsD7egtkelqXYgMzDGTWNPZgpiXymadlf0i gA8ePe0QGS+VatxrZvObNDAQ9UDBn5icZXoq6JrICo++z2hJTHlWo1pMdUlMKdUd Rd7+wWxuWay6OB4yAHLRwpShn/YBO6UxV8gGHcIw+gnoHCkWK7cpmRLui80kuBqV TN/A/fKhIkcTAi9hUlI9DZSHiSsDLxWZcfwzSNWBheNzbfGT4eHCOARSeP8zba/O 3KOAXyhO1wyoo6LSD4rn0Q=�vd
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usen
  • From Sean Whitton@21:1/5 to All on Sun Jul 20 16:40:01 2025
    Hello Xiyue,

    Thanks. I think you sent the wrong patches but I had a look at your
    branch on salsa. This still isn't quite what I mean. I think that

    - you should be using the Emacs built binary (as you are now doing)
    - we should not commit the file emacs-common-substvars to git.
    Instead it should be generated during the build.

    So the main thing missing is that the generating of the file should be incorporated into the build. Probably it should go into the existing override_dh_auto_install.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmh8/usZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQDZPD/9X/YvNtwkKrVYJQw+8w79P zwRUPJkpZF5OE1CnooDRx517/JJtRCV/q/EfieRjmYDyywrKP5ATIS46TkcKb+oc CVGPcl8498M/HM1c2SI2XYiewYTYLrrRHr2y9A4vtS9Ig5iruXyDsUzZfrPECGII 6LHug0hgGm8ydjoNKnlSQLWU4EgumsmqGOALa8aMyb7WqgPU4v1mQRyDyTV7AiCW WDkUFD6JoYyfijUbnQqZcAmrSu/psL6HehJBIhwp4F+O7AvIrJl6pjEMURIeUBiG t44l3eXguw9DfzCMCIXXcUbZBDBc3TacD5zx1LOB1EjJsN8eDtHBcSkSzb+g3rMJ Nfld3qhu7YHmaSy5l/hKBh2IvOTBRJsF8h4kwqRx2MR9GtILkV3W48LeZ30MMkB4 K10V/wZkRbgYaF9TqhPhlc+CzBdftWVGTcTDavdQBqHUHJlOAsIAVj+9ThyrjUk5 GxOvOuFiUT+WZkIqSFVSw7h3u0AI7v3eQyMkH8N2kv4jZtg2ufRnkETiyLU0e7dO XrbJi+erQQZuXHkHDmtZkklaCx+EGiNE4JIZPCdIJi+DGDnxL7voFXiq+Kkn2++9 d5ig202uhOjuh/E87YsNUy9shZByQF/NuKf+ZR3ikc1yQ6WlBhfc3MqfSSPy7UDc USHiWorcUWcZHf4aEgXQeg=(bu
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usen
  • From Sean Whitton@21:1/5 to Xiyue Deng on Mon Jul 21 10:30:01 2025
    Hello,

    On Sun 20 Jul 2025 at 11:00am -07, Xiyue Deng wrote:

    Hi Sean,

    Sean Whitton <[email protected]> writes:

    Hello Xiyue,

    Thanks. I think you sent the wrong patches

    Oops, sorry.

    but I had a look at your
    branch on salsa. This still isn't quite what I mean. I think that

    - you should be using the Emacs built binary (as you are now doing)
    - we should not commit the file emacs-common-substvars to git.
    Instead it should be generated during the build.

    So the main thing missing is that the generating of the file should be
    incorporated into the build. Probably it should go into the existing
    override_dh_auto_install.


    I understand that this file is mostly useful during package building.
    Still, I'd like to give another try to propose to have debian/emacs-common-substvars committed in git: this will help with
    debugging in the following scenarios:

    * When we want to understand why some packages are (or not) being
    replaces by Emacs, and

    * When we want to see what packages are updated between Emacs releases
    (which is also why I put a package+version per line in the comments).

    Without this file, we need to get this information from `apt show' or
    from https://packages.debian.org/ which would be very cumbersome and
    hard to get it right.

    I don't mind also committing the information in a text file somewhere
    (with a version annotation), but the substvar generation should be
    wholly dynamic.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmh9+WAZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQKOvD/9z0HSEejXanaLTLhSZt8VW FyYjXiJFTzpYguBanOTF1ICH3T5xVt0C+S0AHu+tEzz1oJflqx7XihemPfYjLqO9 4eCQywZRbFBtS0uI/H6MDG5gq1hShbYAki8WPXaoCEGAcDg1bakyFgMQH9kNEhNb 1H7hSdQOnPAv1AX4vzNKYLh6lglspNFPcDzE/e4BQnSAFv4uDNmGBKv3ewFSThNQ Q2aJ4YTqx3S+XfNMlSoZy18/nfIj4JrKADjwgIu63sSCeqdU6r8WG1/nVYCiAggQ Eoix/OUpPpZ+zjvzxiHGcc20eCgEwQ0AeAOfSZCXqJ4JprCBfYpGGC8vS8aFVr5X BrMXrBytlgVG+AxzRW+4aJ8xEB16LRdfmQSKFZcGUuSzc3G2QZ6JjYdOQwuk+8Je 3Pb3w9nfBXiyKGsaDfiLptg7LYbiRWon98MuaH5GJ601w4c0d9Sbw59Fc0OrjN4F iBcwXOlxs8LPKeClx3NEpo0MWKgx91ojJNWWzjsOcnr8hEEUR6uMwLdqrlYoqCJD U4qu+DvI77jIbAbkqZicnY2/uEcmi1K7ua8qcdSbwpXav5vcoR8sAWYEJKorHy9r JVaIdpQjoFqBLfAiHGXvF8LecT2KEh3zy/iQ96Xf7rzI8Xjbu060TyTAkFjIVpto DfDwTTzxupiQqA0A8ID1Zw=075
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usen