1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-22 02:06:18 +02:00
Commit Graph

508 Commits

Author SHA1 Message Date
Michal Vyskocil
13e03dd359 osc rm: ignore IOError with --force 2010-03-22 11:07:10 +01:00
Marcus Huewe
3bd8570dc9 - use a list instead of a generator object otherwise the build fails on SLES_9 2010-03-21 23:40:13 +01:00
Juergen Weigert
0b88d1b902 Oops, I did not mean to revert coolo's fix. Sorry. 2010-03-20 12:59:32 +01:00
Juergen Weigert
ad5b23d975 added 'bse' as a shortcur for 'search --binary' 2010-03-20 12:27:27 +01:00
Marcus Huewe
cf2b0c182f - if the commit is interrupted always delete the upload rev 2010-03-15 20:27:21 +01:00
Stephan Kulow
54513a23de /search/package returns all meta data for the packages,
/search/package_id only returns the names - and that's all that
interests us for requests.
before: 11s
after: 5s
2010-03-15 13:37:49 +01:00
Marcus Huewe
47beb996ff - minor changes 2010-03-15 13:34:38 +01:00
Stephan Kulow
8c86d1fab3 put the states first for involved projects
before: 18s
after: 11s
(possibly it matters only if you have more than your home project
in the project list)
2010-03-15 13:18:18 +01:00
Marcus Huewe
88474d392d - do_request(): added "--involved-projects" option to show all requests for project/packages where USER is involved
- code restructuring:
  * added new get_user_projpkgs_request_list() method
  * added new get_user_projpkgs() method
2010-03-13 21:06:18 +01:00
Marcus Huewe
dcd5a852d6 - core.py: added filter_role() method + other minor changes 2010-03-13 13:55:53 +01:00
Marcus Huewe
52cac96f20 - get_request_list(): use new search interface 2010-03-11 00:24:38 +01:00
Marcus Huewe
c6c9506640 - reworked do_search() and osc's search interface
- removed build_xpath_predicate()
- rewrote search()
- added xpath_join() to join two xpath expressions
- TODO: backward compatibility: currently do_search() requires a recent
  api version from git master in order to do some role filter stuff
2010-03-10 23:36:09 +01:00
Juergen Weigert
ec8bf4b60f Proofreading... it (the computer) shall not speak about itself in first person. 2010-03-09 01:40:32 +01:00
Juergen Weigert
5a97588b85 osc add now clears files from _to_be_deleted
This happens, if a file was previously deleted, and the user changes his
mind before a commit. Such an add is no longer an add, but a cancel for the
planned delete. This resulted in unexpected loss of the file, on the server, as
the message 'is already under version control' is quite misleading in this case.
2010-03-08 00:08:55 +01:00
Marcus Huewe
0dcf378060 - make store_write_* methods more safe 2010-03-04 00:31:46 +01:00
Marcus Huewe
8e7a171cf2 Merge branch 'master' of git://gitorious.org/opensuse/osc 2010-03-02 01:34:58 +01:00
Marcus Huewe
f0d07774f4 - added "--message" option to branch cmd 2010-03-02 01:34:17 +01:00
Ludwig Nussel
8cea18e26c handle missing details gracefully 2010-03-01 13:48:27 +01:00
Pavol Rusnak
8d551e0a69 fix whitespace 2010-02-28 02:30:13 +01:00
Pavol Rusnak
90c4358da2 treat pylint warnings 2010-02-27 20:11:15 +01:00
Marcus Huewe
c6b74d6425 - added --exclude-target-project <prj> option to "osc rq list"
- reworked get_request_list()
2010-02-25 22:56:21 +01:00
Marcus Huewe
19d4d696ae - don't exit if the user made an invalid choice 2010-02-25 14:32:24 +01:00
Ludwig Nussel
32e99306b4 add vim mode lines to avoid evil tab characters :-) 2010-02-25 09:53:45 +01:00
Marcus Huewe
663ae2df1e - checkout files with mode 0644 2010-02-25 00:06:24 +01:00
Ludwig Nussel
25d8ffa0d9 actually ignore stuff after the footer line 2010-02-24 13:46:43 +01:00
Ludwig Nussel
57aa962470 print multiple choice prompt in new line 2010-02-23 15:21:20 +01:00
Marcus Huewe
7e530dfaac - added missing return 2010-02-22 15:43:02 +01:00
Marcus Huewe
80b349cb47 - use correct states 2010-02-19 13:46:29 +01:00
57a8533ee8 fix linktobranch apiurl usage 2010-02-18 14:14:48 +01:00
Marcus Huewe
284c529a41 - skip directories when adding files to a package 2010-02-17 20:45:09 +01:00
Marcus Huewe
8df5e1fe38 - make sure the buffer is flushed 2010-02-15 23:56:21 +01:00
Marcus Huewe
e402064bb2 - fixed #579840 ("osc diff output should use a tab as separator behind filenames")
"svn diff" is doing the same so it shouldn't harm
2010-02-14 19:10:10 +01:00
Ludwig Nussel
77f01091a4 better linewrapping and output of umlauts 2010-02-12 10:12:21 +01:00
Marcus Huewe
a116d8f354 - always remove tempfile
- cleaned up metafile() class
2010-02-11 21:22:07 +01:00
Marcus Huewe
51768ba3c2 - cleanup 2010-02-11 20:55:08 +01:00
Ludwig Nussel
cb5ac5af3e store commit message so it doesn't get lost on failure 2010-02-11 12:47:47 +01:00
Ludwig Nussel
0b1e0b89ea unchanged log message is no error 2010-02-11 12:47:47 +01:00
Ludwig Nussel
5da4957347 Revert "use the baserev on links by default for diffing"
Unfortunately produces weird results sometimes. There's probably some
smart code needed to determine when to use baserev.

This reverts commit 94c9a3dde7.

Conflicts:

	NEWS
2010-02-11 12:47:47 +01:00
Marcus Huewe
5d27ea3cd7 - get out of the loop.. 2010-02-11 02:48:08 +01:00
Marcus Huewe
3a909cf75b - review a request interactively
per default this "feature" is disabled
2010-02-11 01:47:47 +01:00
Marcus Huewe
9187508513 - fixed #547005 ("osc co could show download progress") 2010-02-09 20:57:10 +01:00
Marcus Huewe
2f290cdda6 - fixed #577156 ("osc: develproject redirection notice absent")
Note: this only works properly with api's which have commit 357d0dbd1f77967fe020c16917531bcb354245d5
2010-02-08 19:58:14 +01:00
Marcus Huewe
f1a04bc50d - always close the file 2010-02-05 15:17:45 +01:00
116fec879e do not complain about _service files 2010-02-05 11:49:57 +01:00
Marcus Huewe
7d6ede13ab - use a tempfile 2010-02-04 20:32:59 +01:00
Ludwig Nussel
f29ffcdaef move changes file diff parser to separate function 2010-02-02 14:59:40 +01:00
Ludwig Nussel
098ec5b861 display details of finish 2010-02-02 14:59:40 +01:00
Marcus Huewe
f88e3f7c3f - fixed #574758 ('"osc" cannot commit "read-only" files.')
- simply use shutil.copyfile() instead of shutil.copy2() because we don't
  care about the file mode etc.
2010-01-30 18:05:25 +01:00
94c9a3dde7 use the baserev on links by default for diffing 2010-01-29 16:56:36 +01:00
Marcus Huewe
8c50908891 - fixed 'project/package/repository/arch' support 2010-01-28 20:00:34 +01:00