[yast-commit] r56995 - in /trunk/devtools: devtools/bin/oscsubmit package/yast2-devtools.changes
Author: jsrain Date: Mon Apr 27 15:31:57 2009 New Revision: 56995 URL: http://svn.opensuse.org/viewcvs/yast?rev=56995&view=rev Log: - fixed y2tool oscsubmit when submitting package the first time Modified: trunk/devtools/devtools/bin/oscsubmit trunk/devtools/package/yast2-devtools.changes Modified: trunk/devtools/devtools/bin/oscsubmit URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/oscsubmit?rev=56995&r1=56994&r2=56995&view=diff ============================================================================== --- trunk/devtools/devtools/bin/oscsubmit (original) +++ trunk/devtools/devtools/bin/oscsubmit Mon Apr 27 15:31:57 2009 @@ -36,11 +36,12 @@ echo -n "Preparing new package for submission... " | tee -a $LOGFILE echo "" >>$LOGFILE; -rm $OBS_PROJECT/$PACKAGE/* + +rm $OBS_PROJECT/$PACKAGE/* 2>&1 | tee -a $LOGFILE cp package/* $OBS_PROJECT/$PACKAGE -osc addremove $OBS_PROJECT/$PACKAGE >>$LOGFILE echo "OK" | tee -a $LOGFILE diff $OBS_PROJECT/$PACKAGE/*changes $OBS_PROJECT/$PACKAGE/.osc/*changes >diff +test -f $OBS_PROJECT/$PACKAGE/.osc/*changes || echo "< New package" >diff cat diff | tee -a $LOGFILE if grep '^>' diff ; then echo "There are changes in OBS only not reflected in SVN. Merge them first." | tee -a $LOGFILE @@ -56,6 +57,7 @@ echo -n "Submitting the package... " | tee -a $LOGFILE echo "" >>$LOGFILE; +osc addremove $OBS_PROJECT/$PACKAGE >>$LOGFILE find $OBS_PROJECT >>$LOGFILE; if osc ci -F diff $OBS_PROJECT/$PACKAGE >>$LOGFILE 2>&1 ; then echo "OK" | tee -a $LOGFILE Modified: trunk/devtools/package/yast2-devtools.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/package/yast2-devtools.changes?rev=56995&r1=56994&r2=56995&view=diff ============================================================================== --- trunk/devtools/package/yast2-devtools.changes (original) +++ trunk/devtools/package/yast2-devtools.changes Mon Apr 27 15:31:57 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Apr 27 15:31:41 CEST 2009 - jsrain@suse.cz + +- fixed y2tool oscsubmit when submitting package the first time + +------------------------------------------------------------------- Mon Apr 27 14:19:14 CEST 2009 - jsrain@suse.cz - added y2tool oscsubmit (for Factory only) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsrain@svn.opensuse.org