On Mon, Jun 01, 2026 at 06:55:49AM +0200, Jonas Smedegaard wrote:
> Quoting [email protected] (2026-06-01 05:44:27)
> >
> > * Package name : railroad-diagrams
> > Version : 1.0.0
> > * URL : https://github.com/tabatkins/railroad-diagrams
> > Programming Lang: JavaScript, Python
> > Description : library to draw railroad syntax diagrams
>
> This project is already packaged as python3-railroad-diagrams.
Thanks for pointing this out! I missed it because I was only interested /
looking for the nodejs version.
> I suggest you coordinate with the maintainers to extend that to also
> cover the JavaScript port.
I did some investigation of the current python package. It seems the
source is taken from PyPI -- not github. Thus it doesn't include the
javascript module, only the python one. It's also missing the python test
file and some examples.
Therefore, I propose to update the package in the following ways:
* use the source from github HEAD (version: 3.0.1+20260511+git736dec7)
* change the source pkg name from python-railroad-diagrams to
just railroad-diagrams
* keep DPT as the Maintainer; add myself as Uploader
* refresh the packaging of the python module
* run upstream's test python script during build and as autopkgtest
* add a second binary package for the nodejs module
I've started a fork of the existing repo in my jello namespace on salsa
https://salsa.debian.org/jello/railroad-diagrams to begin this work.
I'm interested in thoughts from the current maintainers in the DPT as
well as from the JS-Team. Does this plan make sense? Is there precedent /
prior-art for this?
Please cc me on replies.
> - Jonas
--Joe