openSUSE/osc — pull request #1 by bartosh (2011-12-14 15:41:05+00:00)
Title: Implemented osc mkrpac

Hi,

osc mkrpac allows users to create packages remotely, without using web UI.

A bit of explanations why this is useful:

Usually I start my packaging work this way:
1. git clone git_url_of_package
2. cd package/
3. mkdir rpm
4. git archive --prefix package-version/ HEAD | gzip > rpm/package-version.tar.gz
5. cd rpm
6. Create package using WebUI
7. osc co --output-dir=./ project package
8. vi package.spec
9. osc add package.spec
10. osc add package-version.tar.gz
11. osc commit -m 'Init'

"osc mkrpac project package" would make it possible to do step 6 (and the whole process) without using Web UI.

Please, apply if you don't mind.

Thank you,
Ed Bartosh