[opensuse-buildservice] ANN: osc 0.97 release
Hi, I would like to announce a new release of osc. The major changes are listed below. Marcus Huewe contributed significantly to this release. He also implemented what I consider the most important advance: - added initial revision handling: - extended "osc co prj pac" to checkout a specific revision of pac - extended "osc up" to update to a specific revision - extended "osc diff" to diff the working copy against a specific revision on the server. The following change gives you the opportunity to implement new subcommands (or change existing commands) without touching the osc package (if there is interest in this, I can write a howto): - load subcommands from /var/lib/osc-plugins/ or ~/.osc-plugins/ Then there is a number of new commands and new options: - new commands: wipebinaries, abortbuild, info - for all server-side commands, allow arguments "foo/bar" instead of "foo bar" - updatepacmetafromspec scans for spec files automatically. Also added a --specfile option. - ls: add --verbose option to print extra information for packages - build: --extra-pkgs option, --prefer-pkgs and --keep-pkgs option - implement 'info' subcommand - copypac: implement package copy from one buildservice instance to another (--to-apiurl option) For those who didn't know it yet, there is a feature which makes working with multiple api servers easier: - memorize the used server in the working copy Some of the above changes are not really recent, but I thought I'd list them for those who might have missed them so far. Peter -- Allen Gewalten zum Trutz sich erhalten. SUSE LINUX Products GmbH Research & Development
Hi Peter, You rock...thx a lot for your (not only you but to all people working on this project) hard work to make this tool :) \sh Am Mittwoch, den 11.07.2007, 13:39 +0200 schrieb Dr. Peter Poeml:
Hi,
I would like to announce a new release of osc. The major changes are listed below. Marcus Huewe contributed significantly to this release. He also implemented what I consider the most important advance:
- added initial revision handling: - extended "osc co prj pac" to checkout a specific revision of pac - extended "osc up" to update to a specific revision - extended "osc diff" to diff the working copy against a specific revision on the server.
The following change gives you the opportunity to implement new subcommands (or change existing commands) without touching the osc package (if there is interest in this, I can write a howto):
- load subcommands from /var/lib/osc-plugins/ or ~/.osc-plugins/
Then there is a number of new commands and new options:
- new commands: wipebinaries, abortbuild, info - for all server-side commands, allow arguments "foo/bar" instead of "foo bar" - updatepacmetafromspec scans for spec files automatically. Also added a --specfile option. - ls: add --verbose option to print extra information for packages - build: --extra-pkgs option, --prefer-pkgs and --keep-pkgs option - implement 'info' subcommand - copypac: implement package copy from one buildservice instance to another (--to-apiurl option)
For those who didn't know it yet, there is a feature which makes working with multiple api servers easier:
- memorize the used server in the working copy
Some of the above changes are not really recent, but I thought I'd list them for those who might have missed them so far.
Peter -- Stephan Hermann eMail: sh@sourcecode.de Blog: http://linux.blogweb.de/ JID: sh@linux-server.org OSS-Developer and Admin
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Jul 11, 2007 at 01:39:48PM +0200, Dr. Peter Poeml wrote:
I would like to announce a new release of osc. The major changes are listed below. Marcus Huewe contributed significantly to this release. He also implemented what I consider the most important advance:
- added initial revision handling: - extended "osc co prj pac" to checkout a specific revision of pac - extended "osc up" to update to a specific revision - extended "osc diff" to diff the working copy against a specific revision on the server.
Sounds great! Unfortunately I have no idea how to figure out, which revisions are available. So what did I miss? Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, On 2007-07-11 15:14:05 +0200, Stefan Dirsch wrote:
On Wed, Jul 11, 2007 at 01:39:48PM +0200, Dr. Peter Poeml wrote:
I would like to announce a new release of osc. The major changes are listed below. Marcus Huewe contributed significantly to this release. He also implemented what I consider the most important advance:
- added initial revision handling: - extended "osc co prj pac" to checkout a specific revision of pac - extended "osc up" to update to a specific revision - extended "osc diff" to diff the working copy against a specific revision on the server.
Sounds great! Unfortunately I have no idea how to figure out, which revisions are available. So what did I miss?
A log command will be implemented soon to show the revisions+commit messages (see http://lists.opensuse.org/opensuse-buildservice/2007-07/msg00064.htm). For now you have to run "osc info /path/to/working_copy" to see the current revision of your working copy (not the upstream one) :/ Small (ugly) workaround for the upstream revision: curl -u user:pass -X GET https://api.opensuse.org/source/project/package | grep rev Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Jul 11, 2007 at 03:38:32PM +0200, Marcus Hüwe wrote:
curl -u user:pass -X GET https://api.opensuse.org/source/project/package | grep rev
curl -u user:pass -X GET https://api.opensuse.org/source/project/package/_history Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Jul 11, 2007 at 03:38:32PM +0200, Marcus Hüwe wrote:
On 2007-07-11 15:14:05 +0200, Stefan Dirsch wrote:
- added initial revision handling: - extended "osc co prj pac" to checkout a specific revision of pac - extended "osc up" to update to a specific revision - extended "osc diff" to diff the working copy against a specific revision on the server.
Sounds great! Unfortunately I have no idea how to figure out, which revisions are available. So what did I miss?
A log command will be implemented soon to show the revisions+commit messages (see http://lists.opensuse.org/opensuse-buildservice/2007-07/msg00064.htm). For now you have to run "osc info /path/to/working_copy" to see the current revision of your working copy (not the upstream one) :/ Small (ugly) workaround for the upstream revision: curl -u user:pass -X GET https://api.opensuse.org/source/project/package | grep rev
I just checked in the following change: - implementing a provisionary log command for the commit log - renamed log command to buildlog (short: bl) - commit: implemented -m option for the commit message - commit files together, if (and only if) do_commits = 1 is set in the [general] section of .oscrc I found that I had already code in place for the commit with username and message, it was just waiting for a -m option, and actually the commit method is subject to change, but for now it could be useful nevertheless. However, it is hardly tested yet. Please, if you are willing to take a risk for certain packages, set do_commits = 1 in .oscrc and let me know how it works. (If it works, the username and commit message can be seen in the commit log later.) Peter -- Allen Gewalten zum Trutz sich erhalten. SUSE LINUX Products GmbH Research & Development
On Thu, Jul 12, 2007 at 01:29:41AM +0200, Dr. Peter Poeml wrote:
On Wed, Jul 11, 2007 at 03:38:32PM +0200, Marcus Hüwe wrote:
On 2007-07-11 15:14:05 +0200, Stefan Dirsch wrote:
Sounds great! Unfortunately I have no idea how to figure out, which revisions are available. So what did I miss? [...] I just checked in the following change:
- implementing a provisionary log command for the commit log - renamed log command to buildlog (short: bl) - commit: implemented -m option for the commit message - commit files together, if (and only if) do_commits = 1 is set in the [general] section of .oscrc
I found that I had already code in place for the commit with username and message, it was just waiting for a -m option, and actually the commit method is subject to change, but for now it could be useful nevertheless. However, it is hardly tested yet. Please, if you are willing to take a risk for certain packages, set do_commits = 1 in .oscrc and let me know how it works.
(If it works, the username and commit message can be seen in the commit log later.)
For me it works, and I haven't heard anything negative from anyone else about it. However, I suspect that I may be the only one actually using it. I have updated osc so the new commit mode is used automatically if a commit message is given, so it gets more coverage. (I have not forgotten that we are going to change the commit handling once more... as I wrote in the minutes of the last buildservice meeting. But I think it is worthwile to start implementing (and using) all the facilities now, which commit and revision handling brings about.) Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
participants (5)
-
Dr. Peter Poeml
-
Marcus Hüwe
-
Michael Schroeder
-
Stefan Dirsch
-
Stephan Hermann