• Bug#1076420: uwsgi: move away from cdbs - status update

    From Alexandre Rossi@21:1/5 to All on Thu Aug 8 18:20:01 2024
    Hi,

    All this is currently implemented in GNU make syntax, so this is doable to move to debhelper and not introduce some helper script. I'll try to
    come up with something. However, I still think that the handling of the plugin build configuration would be easier to maintain with a more capable language than GNU make.

    The alternative you didn't list which I prefer is to branch out to interpreter-specific source packages depending on uwsgi-source and using
    dh helpers tailored for each interpreter - same as has been done already
    for php and a few others.

    Now I see what you mean.

    Can you confirm the list of new src packages you think about?
    I can think of the following and all helper script to generate binNMUs
    when uwsgi-abi changes.

    src:uwsgi-libapache2-mods
    building libapache2-mod-ruwsgi
    building libapache2-mod-ruwsgi

    src:uwsgi-plugin-python3
    building uwsgi-plugin-python3
    building python3-uwsgidecorators
    building uwsgi-plugin-asyncio-python3
    building uwsgi-plugin-gevent-python3
    building uwsgi-plugin-greenlet-python3
    building uwsgi-plugin-tornado-python3

    src:uwsgi-plugin-ruby
    building uwsgi-plugin-fiber
    building uwsgi-plugin-rack
    building uwsgi-plugin-rbthreads

    src:uwsgi-plugin-gccgo

    src:uwsgi-plugin-glusterfs

    src:uwsgi-plugin-openjdk
    building uwsgi-plugin-jvm
    building uwsgi-plugin-jwsgi
    building uwsgi-plugin-ring
    building uwsgi-plugin-servlet

    src:uwsgi-plugin-lua51

    src:uwsgi-plugin-mono

    src:uwsgi-plugin-psgi

    src:uwsgi-plugin-rados

    Please confirm or comment, and I'll give it a go for python. Once all done, this should make the move the dh easy with a static list of plugins to build.

    Thanks,

    Alex

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonas Smedegaard@21:1/5 to All on Thu Aug 8 20:40:01 2024
    Quoting Alexandre Rossi (2024-08-08 18:14:20)
    Can you confirm the list of new src packages you think about?

    I see no need for doing them all at once, and worry that it needlessly complicates oversight - similar to your transition draft.

    src:uwsgi-plugin-python3
    building uwsgi-plugin-python3
    building python3-uwsgidecorators
    building uwsgi-plugin-asyncio-python3
    building uwsgi-plugin-gevent-python3
    building uwsgi-plugin-greenlet-python3
    building uwsgi-plugin-tornado-python3
    [...]
    Please confirm or comment, and I'll give it a go for python.

    The above looks good. Please create that, and test (e.g. with debdiff)
    that it produces same binary packages as now generated with src:uwsgi
    we can release that. No need to touch src:uwsgi at all for this work.

    Ideally, the package should be done in as mainstream packaging style as possible, and we might consider offering its continued mainteance to the
    Python team. If something in its packaging is sticking out and pose a
    risk that the Python team will find it scary to adopt (regardless if
    they in fact adopt it or if we offer it for adoption at all - merely the principle of being totally streamlined or not) then we might consider
    extending our dh_uwsgi to handle any warts there.

    Then, when we are happy about the new addon package, we release it and
    have it approved by ftpmasters. We can then simplify src:uwsgi to no
    longer generate those same binary packages, and then repeat the cycle
    for each of the other involved libraries.

    ...or please do tell, if you think I am missing something and there is
    some benefit in doing more at once.

    Independently from the above work we can look at other atomic changes to simplify packaging, where one very narrow change (especially when done
    *after* the above) is letting go of cdbs. You can see my work on
    "atomifying" your draft in branch wip/simplify - it it still both
    unfinished and untested, but gives an idea of the level of atomicity
    that I find comfortable for understanding what is going on.


    - Jonas

    --
    * Jonas Smedegaard - idealist & Internet-arkitekt
    * Tlf.: +45 40843136 Website: http://dr.jones.dk/
    * Sponsorship: https://ko-fi.com/drjones

    [x] quote me freely [ ] ask before reusing [ ] keep private --==============ü12060317944034463=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

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

    iQIzBAABCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAma1D1wACgkQLHwxRsGg ASHCCA//ZpgxK+t4NW1BiR5Sm9rzMAuPlP2z3T2gXz2hzGuEtH2NAl/tZL4w02q8 Ldovv60a59gOVit7n3tk9q8cjPqBHepeggYEfoHROh2A68lH4HqzdCAvqIu1yMdm IBK/cqXkzyUoWnMGXAq4gWjrxBo9bGmqG6SxJ6iYJaJHYrHnKQ2/AccLLLXTZQxN rz/bntWo2scBXbfOfNT3lL2RHSMrGSn3AMTabMeiwF/Vg/9ss0fagpo6uPhowBCi nAzDelmDioZXIIfK2zOB176zz2SfcNZjmAyr5a5Mij37ppPywsw1dQ/WrfehIqah Gz/dddBiS1ZLigphXdT22XECvDmEJVaeGfnq/gtNVLmIHImuHf0xTtXWH4CflBPm EiV8XHUlrr6rpZgBDKYDWzVgnRzY6YGShuxjufG+Jx1yZHZbDAK4RsHZITsu7qdX quqzonxSIaz4CfmJG+TOUz0Hll3KJoWpMYWHgLiM