scribusproject / scribus

Mirror of official Scribus SVN (however you should really use SVN at svn://scribus.net) (http://bugs.scribus.net ← Submit PRs & Bugs)
http://scribus.net
Other
401 stars 108 forks source link

Patch testing script: Mantis > Github PR request maker #33

Open luzpaz opened 8 years ago

luzpaz commented 8 years ago

In order to facilitate more efficient testing of patches for the Scribus community we suggest an automated script that will streamline sending a PR request to the repo to test the patch. The script should:

  1. accept input of a Scribus MantisBT issue url (example url)
  2. grab the .patch file (not sure this is even possible)
  3. implement patch locally
  4. submit as a PR to scribusproject/scribus for testing
luzpaz commented 8 years ago

Posted question to MantisBT forums: http://fluffy.mantisbt.org/forums/viewtopic.php?f=2&t=23450&p=58307#p58307

aoloe commented 8 years ago

i think it's easier to get the first tester to make a pull request to github after having applied the patch... and the other ones will profit from it... the problem with patches coming from different sources is that they don't always cleanly apply at the first try...

luzpaz commented 8 years ago

A client side solution could be implemented by using the Mantis SOAP API or by direct access of the database (if attachments are stored in database) or by any client that sends HTTP requests and interprets the answers. A server side solution could be implemented in PHP using the internal Mantis API or by direct access of the database and the filesystem (if attachments are stored on disk)