mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 15:06:15 +01:00
- commit: switch to new commit mode also if the -F switch is used
- update NEWS file
This commit is contained in:
parent
b5e1dec8ad
commit
05b47f7f98
15
NEWS
15
NEWS
@ -1,5 +1,18 @@
|
|||||||
since 0.97:
|
since 0.97:
|
||||||
[...]
|
|
||||||
|
- added initial search support
|
||||||
|
- new meta command, replacing editmeta, editprj, createprj,
|
||||||
|
editpac, createpac, edituser
|
||||||
|
- show helpful xml error messages if broken metadata is uploaded
|
||||||
|
- implementing a log command to review the commit log
|
||||||
|
- renamed previous "log" command to "buildlog" (short: bl)
|
||||||
|
- initial support for commit messages (ci -m/-F)
|
||||||
|
NOTE: if -m is used, osc uses a different mode of uploading
|
||||||
|
files and commit them, namely the way which is currently
|
||||||
|
documented in the api. So far, osc was uploading each file
|
||||||
|
separately through the old backward compatible way. This way
|
||||||
|
of committing can also be forced with do_commits = 1 in
|
||||||
|
.oscrc.
|
||||||
|
|
||||||
|
|
||||||
0.97:
|
0.97:
|
||||||
|
@ -159,7 +159,6 @@ class Pac:
|
|||||||
for url in urllist:
|
for url in urllist:
|
||||||
self.urllist.append(url % self.mp)
|
self.urllist.append(url % self.mp)
|
||||||
|
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
|
@ -818,7 +818,7 @@ class Osc(cmdln.Cmdln):
|
|||||||
# this is experimental in that it enables a different way of uploading files
|
# this is experimental in that it enables a different way of uploading files
|
||||||
# see osc.core.Package.put_source_file()
|
# see osc.core.Package.put_source_file()
|
||||||
# I assume that if -m is used, we want to commit this way.
|
# I assume that if -m is used, we want to commit this way.
|
||||||
if opts.message:
|
if opts.message or opts.file:
|
||||||
conf.config['do_commits'] = True
|
conf.config['do_commits'] = True
|
||||||
|
|
||||||
for p in pacs:
|
for p in pacs:
|
||||||
|
Loading…
Reference in New Issue
Block a user