scripts/ and cronscripts/ should be generated as setuptools entry-points

Bug #403570 reported by Celso Providelo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

As Barry commented in https://code.edge.launchpad.net/~cprov/launchpad/cronscript-checker/+merge/9175, it would be much easier to maintain the scripts we ship in launchpad (scripts/ and cronscripts/) if they were generated as application entry-points by buildout.

We can do and experiment with a well-formed script and see how it goes.

buildout.cfg
{{{
[scripts]
...
entry-points = copy-package=lp.soyuz.scripts.packagecopier:main
...
}}}

That would create `bin/copy-package` (once we write main())

affects: launchpad → launchpad-foundations
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
tags: added: feature
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.