[Metabug]: add samples/ directory to py-lp-bugs

Bug #191089 reported by Markus Korn
6
Affects Status Importance Assigned to Milestone
python-launchpad-bugs
Fix Released
Undecided
Unassigned

Bug Description

More and more people are writing their own scripts using py-lp-bugs, these scripts give a nice overview on how py-lp-bugs works. It would be nice to have a central place where this scrips can be listed. I suggest adding a "samples/" directory which contains
1.) scripts which are not published elsewhere
2.) a "README" file with links to other scripts using py-lp-bugs

What do you think?
We can also take this bugreport to collecting scripts which can be added to a "samples/" directory

Markus

Revision history for this message
Brian Murray (brian-murray) wrote :

I think something like this would be useful also and I have somethings I'd like to include. Ideally we should get this in before feature freeze.

Revision history for this message
Markus Korn (thekorn) wrote :

<persia> thekorn: bdmurray: Typically things like that would be "examples", and would be installed in /usr/share/doc/<package>/examples/ by dh_installexamples

Revision history for this message
Markus Korn (thekorn) wrote :

this patch against .main rev67 add an examples/ directory and the necessary packaging magic.
I also added the content of Leann Ogasawara's [1] samples/ directory as content to examples/

Markus

[1] https://code.edge.launchpad.net/~bughelper-dev/python-launchpad-bugs/ogasawara.updates

Revision history for this message
Markus Korn (thekorn) wrote :

sorry, missed the file ;)

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :
Revision history for this message
Markus Korn (thekorn) wrote :

I merged the patch and the four scripts from Leann into .main (rev68)

Markus

Changed in python-launchpad-bugs:
status: New → Fix Committed
Revision history for this message
Markus Korn (thekorn) wrote :

python-launchpad-bugs (0.2.28) hardy; urgency=low

  [ Markus Korn ]
  * created an examples/ directory and added some sample scripts
  * merged Martin Pitt's patch resolving a crash in bug attachment affecting
    the apport retracer (LP: #192892)

  [ Brian Murray ]
  * merged Markus's patch adding bzr branch attribute to a bug (LP: #196218)
  * added ability to filter on bugs with bzr branches to basebuglistfilter.py
  * to basebuglistfilter.py added URL filters for:
    - assignee, contact, commenter, subscriber, CVE (LP: #141388)

  [ Jamie Strandboge ]
  * handle firefox3 sqlite backend (LP: #192575) based on work by Kees Cook

 -- Brian Murray < <email address hidden>> Mon, 10 Mar 2008 15:12:56 -0700

Changed in python-launchpad-bugs:
status: Fix Committed → Fix Released
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.