openSUSE Forums > openSUSE Build Service (OBS) » osc (version >= 116) - osc bl issue in "following" log

Go Back   openSUSE Forums > openSUSE Build Service (OBS)
Forums FAQ Members List Search Today's Posts Mark Forums Read


openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-Apr-2009, 11:03
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default osc (version >= 116) - osc bl issue in "following" log

Before filing a bug report, I would like confirmation if this problem is also present on other people's machines.

I use the osc python client (package osc) from

Code:
zypper se -s --match-exact osc

Loading repository data...
Reading installed packages...

S | Name | Type       | Version    | Arch   | Repository
--+------+------------+------------+--------+------------------
  | osc  | srcpackage | 0.117-6.1  | noarch | openSUSE-Tools
i | osc  | package    | 0.117-6.1  | x86_64 | openSUSE-Tools
v | osc  | package    | 0.110-1.16 | x86_64 | openSUSE-11.1-Oss
v | osc  | package    | 0.117-6.1  | i586   | openSUSE-Tools
v | osc  | package    | 0.110-1.11 | i586   | openSUSE-11.1-Oss
The command

Code:
osc bl REPOSITORY ARCHITECTURE
or

Code:
osc buildlog REPOSITORY ARCHITECTURE
can be used for checking the buildlogs and

Quote:
Shows the log file of the build of a package. Can be used to follow the log while it is being written.
Needs to be called from within a package directory.
should also give you the possibility to monitor a build in progress with the new lines scrolling automatically (like a "tail -f").

After one of the last updates (not 100% sure, must have been 0.116 or the version directly before that one) this "live monitoring" does not work any more, the command just prints the log up to its last actual line and then exits.

Downgrading to version 0.110 from openSUSE-OSS brings this feature back and the changelog of the osc-package does not show any comments that there were some changes on this, so it mostly looks like a bug in newer versions.

Can somebody check and confirm this behaviour?
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #2 (permalink)  
Old 23-Apr-2009, 12:49
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: osc (version >= 116) - osc bl issue in "following" log

After having a look into svn-repo at

https://forgesvn1.novell.com/svn/ope...ib/python/osc/

and checking out, I found the revision that broke this "following"-feature.

Code:
------------------------------------------------------------------------
r7066 | ******* | 2009-04-09 17:52:59 +0200 (Do, 09. Apr 2009) | 3 lines

- added streamfile() method
- print_buildlog: use streamfile() to retrieve the buildlog
- do_cat: use streamfile() to retrieve a file - there's no need to have a tempfile or to read the entire file into memor
y anymore
------------------------------------------------------------------------
Revision 7063 works fine, all newer ones don't.
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #3 (permalink)  
Old 24-Apr-2009, 10:26
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: osc (version >= 116) - osc bl issue in "following" log

Filed bug report:

https://bugzilla.novell.com/show_bug.cgi?id=497987
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #4 (permalink)  
Old 29-Apr-2009, 12:51
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: osc (version >= 116) - osc bl issue in "following" log

Fixed in latest version

Code:
rpm -q osc
osc-0.117-9.1.
from

Code:
zypper se -si --match-exact osc

S | Name | Typ   | Version   | Arch   | Repository
--+------+-------+-----------+--------+---------------
i | osc  | Paket | 0.117-9.1 | x86_64 | openSUSE-Tools
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2