RFC Generating package skeletons
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | scripts: Add gen-package.pysupport/ | +266 | 1 reply | |
| 1/1 | scripts: Add gen-package.py | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [RFC PATCH 0/1] Generating package skeletons
Hi,
Not sure if this has come up before but I figured most of the 'standard' things for adding a package[1] can be somewhat automated, and that automation might solve some of the minor style issues that crop up.
But just because something _can_ be automated it doesn't necessarily follow that something _should_ be automated. By my (fairly unscientific) count between 2015.05 and 2015.08 there were 95 new packages and between 2015.08 and master there are 36 new packages (so far). Having a script to generate the skeleton for those packages would have saved a few keystrokes (although I haven't checked that my script would generate something valid for those 95/36 packages).
Is this an idea worth pursuing (adding docs, handling cases like SITE=$(call github, ...) and git/hg repositories)?
[1] - http://buildroot.org/downloads/manual/manual.html#adding-packages
Chris Packham (1):
scripts: Add gen-package.py
support/scripts/gen-package.py | 266 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100755 support/scripts/gen-package.py
Signature · 1 line
2.5.0