• Bug#1091462: dh-make-elpa: Use "upstreamvcs" as suggested upstream remo

    From Sean Whitton@21:1/5 to Xiyue Deng on Fri Dec 27 08:30:01 2024
    XPost: linux.debian.maint.emacsen

    Hello,

    On Thu 26 Dec 2024 at 03:23pm -08, Xiyue Deng wrote:

    Package: dh-make-elpa
    Version: 0.19.5
    Severity: wishlist

    Currently dh-make-elpa suggests using "upstream" as upstream remote name
    in its manpage. This works, but could be confusing as DEP-14 also
    suggests using "upstream/latest" as the branch name for upstream repo.
    I would like to suggest using "upstreamvcs" as upstream remote name
    instead, which is also used by dh-make.

    I'd prefer to leave it as it is. The 'vcs' in 'upstreamvcs' is
    redundant, because of course it's a VCS -- it's a git remote.

    --
    Sean Whitton

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

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

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmduVWAZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQC5KEACFoagDdga6mL1eX0VajO9+ oJYUqvZk/BZxa4APAhFs4iD98B0VXckgfcGrfXxJJjfjWiZLx82XskQXRa+hCxB/ ccKOjdc4hxgGCIINIYBme02twR/bgTRU3UxzTBp+YdvlsMvvSxe2v8bNWN7gofDd ALy5TOVbe9SU1uDzs9PyjK9xXEki+7R8tlYfLp+wt7+wvTQHG5OkgA7TnLbKS1IO laVOC8fRklBYs4GkQju6x1VSV2LzKN+Z2ds09BPWRTsQ/++XpHCxhEZmmL3kb7+v mx/ITvUcpFccEXe2+ZVD5ULNCcvhx7SMZp85OkAeW/WzWWWH3xXQqQB3jRnOnelW dB0/FYp1mdq2Dy/U/ejWFZ9OWv3Odjkh33i3U3JwWSM2IurfUm6eQAghebZFL4Xa ooIVdD1a6DTI0DgLcm/3CoH9lXlprN41Iz3m3R05cI61mhG9hNHqP6D44Nqe7Tly oP7/PObJo6nVe3SDCB8+k+Pc6SAcrpScXWSLFgkj1zaVl5t1J0LiQYALktJFES6B fnugR9C32EWZSOcYhu+A/Jp1dIRdZCdMnfzqzmKOZ+2fcERBE0UUK3E91Ou3CUYQ ZXQ8UqtYyEdLsvDhtcCZurlZe9Xtj0fV5KPA0i2vk5XPFgyrpNSMkjsoen95hm3r lVRbZmaO8u2gZJi4elhtaA==kKOf
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Sean Whitton@21:1/5 to Xiyue Deng on Fri Dec 27 14:50:02 2024
    XPost: linux.debian.maint.emacsen

    Hello,

    On Fri 27 Dec 2024 at 01:20am -08, Xiyue Deng wrote:

    Sean Whitton <spwhitton@spwhitton.name> writes:

    Hello,

    On Thu 26 Dec 2024 at 03:23pm -08, Xiyue Deng wrote:

    Package: dh-make-elpa
    Version: 0.19.5
    Severity: wishlist

    Currently dh-make-elpa suggests using "upstream" as upstream remote name >>> in its manpage. This works, but could be confusing as DEP-14 also
    suggests using "upstream/latest" as the branch name for upstream repo.
    I would like to suggest using "upstreamvcs" as upstream remote name
    instead, which is also used by dh-make.

    I'd prefer to leave it as it is. The 'vcs' in 'upstreamvcs' is
    redundant, because of course it's a VCS -- it's a git remote.


    Right. It's just that this name clash with "upstream" or
    "upstream/latest" is kind of inconvenient, especially in magit (I should
    have mentioned this in the report) that when you try to switch to a
    branch and as you try to auto-complete for "upstream", it shows all
    remote branches starting with upstream as well, which can be confusing.

    Using a different name helps a little, and I guess this could be why
    dh-make started suggesting "upstreamvcs". It doesn't have to be that
    name, of course. Anything different from "upstream" helps :)

    Thanks for explaining. I think with git you just have to deal with this
    across the board. For example dgit-repos uses a remote branches
    namespace called 'dgit' and the branches are 'dgit/sid', 'dgit/bookworm'
    etc., so you frequently have to deal with 'dgit/dgit/sid'.

    So, I'm not sure trying to help in this way is a job for dh_make_elpa.

    If someone regularly runs into this problem, they can just use a
    different one themselves, the manpage name is just a recommendation,
    after all.

    (I'm a bit biased here because I don't think we should be maintaining
    upstream branches at all, for most packages, as you know from reading
    some of my dgit tutorial manpages.)

    --
    Sean Whitton

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

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

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmdurkIZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQEwsEACBgMzymWy6wla4x0kvGwtT yyWJqvto+rCzDGMoN7SVyV/4dREdfl8zrkP/4uDfSYuazQF8pgWNeiRrI2EGgG5J KVFCArc036mnujIANt4R3mKV8ySvoWNCvxsyZWIFkR7J3PLRqwncjvCqRYxdoy9W Tf7IE7/e9KNsKcqErdunySqU7/IVaWFPlceDoewVa5wmA416AlaB3/nu0i/Ynq+B lHlxcFsxhCP8EzLfVeCHOHlZIImPDnkQE1VBhlnD5+4CUukfXuvgyRc4b8I5fFNB jw89+ECHDAA+eeRusO960NQSINOEmUx6XTQPmgRWpQ20QZoiF7SAF8DPFyh531Ey d84V8Y8hKvpH2KJ6gQYAO7TUBp+w8rjLXygRbIW3MYaW8h3jo1n3VH9vdd3CXoGD K3IhNmAHOlB4XSj/lEVHrtZofkdIb/WgHXitJfeD9isFzGtrOh116GUAJEOCVw9d INyXOs7ZO74CWyBOg0aqVAcv8RhmMw9h8Jg8shiP+xy/oEw0Z/smSBQwh9ochTzO Fn+rm263YEhgSw860TnCXxOltkYqoh/GNcbQBGd5MsrRWloVjBUxuTdb1ssh71IX Q/7HtN0kKU3sRwoMq6d1BhmWWKo1quMvNtJsUxkZ8Y7/6Ty0+JuF+Djsgrl83XuM oLnXoR7H/L8RTMJeHNUdVw==5YqW
    -----END PGP SIGNATURE-----

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