1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-21 09:46:19 +02:00
Commit Graph

2968 Commits

Author SHA1 Message Date
Marcus Huewe
83c1064cfe Merge branch 'master' of https://github.com/sleep-walker/osc 2016-07-08 15:28:44 +02:00
Marcus Huewe
58adc14dd4 Merge branch 'fix_osc_co_outdir_project' of https://github.com/Ericsson/osc 2016-07-08 11:48:52 +02:00
Marcus Huewe
aa7e4a79b3 Merge branch 'manpage' of https://github.com/bmwiedemann/osc 2016-07-08 10:57:31 +02:00
Bernhard M. Wiedemann
1ef4449e80 mention "key" in no-verify help text
to make it easier to find with
man osc | grep key
2016-07-05 17:11:48 +02:00
Tomáš Čech
66596c5d0a Return different return code on KeyboardInterrupt
As I haven't found any good source for choice of exit code, I took value
130 found here:

http://tldp.org/LDP/abs/html/exitcodes.html
2016-07-02 19:19:32 +02:00
f2faa82ac7 fix local package caching for snapcraft 2016-07-01 11:15:12 +02:00
Esa Kulmala
c4e4064778 fixed output dir handling for osc checkout <project> 2016-06-30 09:51:48 +03:00
b6f7d1be6c explicit "osc add" of a directory offers to create an archive for uploading it
Question: what can be a trigger to update it?
          checking for mtimes in directories where an .obscpio exists?
2016-06-30 08:19:23 +02:00
d623cb8552 add support for snapcraft builds 2016-06-30 08:06:29 +02:00
Marcus Huewe
30213d0da4 Merge branch 'fix-obsolete' of https://github.com/sebix/osc 2016-06-17 09:17:24 +02:00
Sebastian Wagner
61ddf8542e
Unify obsolete warnings for commandline
Signed-off-by: Sebastian Wagner <sebix@sebix.at>
2016-06-16 23:53:07 +02:00
Marcus Huewe
89fd90ee23 cosmetic + logic fix in get_results 2016-06-10 14:41:35 +02:00
Marcus Huewe
ca9da9df05 fixed "osc results" output in case of a missing status node
In this case, the code from the result element is used.
2016-06-10 14:40:12 +02:00
Michael Schroeder
95b6087c5b Use the preinstall filename if the hdrmd5 is not available 2016-06-09 16:40:39 +02:00
Michael Schroeder
55da852a90 Add support for preinstall iamges
Adapted from a submission from Ericsson by Esa Kulmala, thanks a lot!
2016-06-09 16:24:30 +02:00
37990f48b2 add "osc service runall"
This is up for discussion, but I try to simplify the interface here:
- obsolete "localrun" and "disabledrun". Still implemented, but not anymore
  recommended and documented. can hopefully removed later.
- "runall" is running all services local, also buildtime services
  - files get replaced by the service
  - can be used to get final tar balls to be used with tools like quilt
2016-06-08 09:17:15 +02:00
015ab4cd40 Merge pull request #208 from b1-systems/project_meta_revision_ctrl
Add revision control options to meta project commands
2016-06-08 09:10:21 +02:00
abe0ffad76 Merge pull request #207 from adrianschroeter/master
add "osc service runall"

no feedback yet, but it is not removing functionality, so let's try in real life
2016-06-08 09:10:14 +02:00
Marcus Huewe
acbd2c17c7 Revert "Simplify core.http_request"
This reverts commit c53a7681ef (for now!).
It seems to break local obs instances (see issue #202) (this needs
further debugging). Moreover, it breaks the python 3.4 - excerpt
from a travis run:

======================================================================
ERROR: test_added_missing2 (test_commit.TestCommit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/python/3.4.2/lib/python3.4/urllib/request.py", line 1111, in do_request_
    mv = memoryview(data)
TypeError: memoryview: _io.BufferedReader object does not have the buffer interface

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/travis/build/openSUSE/osc/tests/common.py", line 122, in wrapped_test_method
    test_method(*args)
  File "/home/travis/build/openSUSE/osc/tests/common.py", line 122, in wrapped_test_method
    test_method(*args)
  File "/home/travis/build/openSUSE/osc/tests/common.py", line 122, in wrapped_test_method
    test_method(*args)
  File "/home/travis/build/openSUSE/osc/tests/common.py", line 122, in wrapped_test_method
    test_method(*args)
  File "/home/travis/build/openSUSE/osc/tests/common.py", line 122, in wrapped_test_method
    test_method(*args)
  File "/home/travis/build/openSUSE/osc/tests/test_commit.py", line 290, in test_added_missing2
    p.commit()
  File "/home/travis/build/openSUSE/osc/tests/osc/core.py", line 1471, in commit
    self.put_source_file(filename, tdir)
  File "/home/travis/build/openSUSE/osc/tests/osc/core.py", line 1319, in put_source_file
    http_PUT(u, file = tfilename)
  File "/home/travis/build/openSUSE/osc/tests/osc/core.py", line 3243, in http_PUT
    def http_PUT(*args, **kwargs):    return http_request('PUT', *args, **kwargs)
  File "/home/travis/build/openSUSE/osc/tests/osc/core.py", line 3231, in http_request
    fd = urlopen(req, data=data)
  File "/opt/python/3.4.2/lib/python3.4/urllib/request.py", line 153, in urlopen
    return opener.open(url, data, timeout)
  File "/opt/python/3.4.2/lib/python3.4/urllib/request.py", line 453, in open
    req = meth(req)
  File "/opt/python/3.4.2/lib/python3.4/urllib/request.py", line 1116, in do_request_
    data))
ValueError: Content-Length should be specified for iterable data of type <class '_io.BufferedReader'> <_io.BufferedReader name='/tmp/osc_test571whun4/osctest/added_missing/.osc/_in_commit/bar'>
2016-06-02 21:59:40 +02:00
Karsten Keil
fca93a8b60 Add revision control options to meta project commands 2016-06-02 08:23:47 +02:00
28c12686b9 add "osc service runall"
This is up for discussion, but I try to simplify the interface here:
- obsolete "localrun" and "disabledrun". Still implemented, but not anymore
  recommended and documented. can hopefully removed later.
- "runall" is running all services local, also buildtime services
  - files get replaced by the service
  - can be used to get final tar balls to be used with tools like quilt
2016-06-01 17:10:31 +02:00
2364a08236 handle "_project" package always as local package 2016-05-31 09:26:28 +02:00
Marcus Huewe
502dbaa030 tests.common: req.data can also be a file-like object 2016-05-29 16:21:01 +02:00
Marcus Huewe
c53a7681ef Simplify core.http_request
There is really no need for mmap...
2016-05-16 18:48:57 +02:00
Marcus Huewe
8466e49d59 - request_interactive_review: handle 404 during get_results more gracefully
Catch exception and just print the error instead of exiting
the interactive review.
2016-04-22 15:16:53 +02:00
Marcus Huewe
ce9a6d0f46 Fixed "osc buildinfo --prefer-pkgs..."
Was broken since ages (literally!)...
(see commit d5b795a02b).
2016-04-14 16:25:48 +02:00
564918f37a open 0.155 development 2016-04-11 10:50:10 +02:00
941e5b0289 prepare 0.154.0 release.
A small release, but brings the critical stuff to work with new git handling
of OBS 2.7
2016-04-11 10:48:05 +02:00
a3684394a1 show branch errors again 2016-04-11 10:45:40 +02:00
Marcus Huewe
51fe8e1401 Merge branch 'master' of https://github.com/adrianschroeter/osc 2016-04-08 09:33:58 +02:00
24290ebf95 switch to new obsinfo service 2016-04-08 09:07:38 +02:00
65201ad1bc set OSC_VERSION environment for source services
will be needed by new obs_scm service
2016-04-01 12:57:00 +02:00
Marcus Huewe
c5f56e7f6c - fixed boo#896633 2016-03-19 22:01:52 +01:00
Marcus Huewe
3298732576 - refactored Serviceinfo.read a bit 2016-03-04 10:22:21 +01:00
Marcus Huewe
b480206829 - Fix for commit d6bd44a9a4cf585d12c9d7e597dbddccea34a1c3... 2016-03-04 10:20:39 +01:00
Marcus Huewe
d6bd44a9a4 - Serviceinfo.execute: create tmpdir in the package wc
The advantage is that we can use os.rename instead of shutil.move
to move the files.
2016-03-04 09:40:58 +01:00
f6324f2aa0 open 0.154 development 2016-03-04 08:37:33 +01:00
3a0353eef1 0.153.0 release 2016-03-04 08:37:33 +01:00
aa74e98fb3 add new service commands (merge and wait) 2016-03-04 08:37:33 +01:00
Marcus Huewe
ae85d0c464 Merge branch 'master' of https://github.com/ketheriel/osc 2016-03-02 18:53:21 +01:00
Nelson Manuel Marques
72c2bd7cfd FIX https://github.com/openSUSE/open-build-service/issues/1591 2016-03-02 17:47:22 +00:00
779c7763cc add repository strategy options to branch command 2016-03-02 17:13:11 +01:00
Marcus Huewe
84935cc686 Merge branch 'qemuuser' of https://github.com/bmwiedemann/osc 2016-03-01 22:02:51 +01:00
Marcus Huewe
6a33581205 Merge branch 'docs' of https://github.com/cav71/osc 2016-02-18 19:31:21 +01:00
Bernhard M. Wiedemann
bbefe024e5 add vm-user option
this needs latest obs-build to work
2016-02-18 11:31:59 +01:00
cav71
383f586f28 sphinx documentation, initial commit 2016-02-15 22:36:50 +00:00
d4336dc19a - print created submit request ID before handling supersedes
So it is printed even when something goes wrong with superseding (boo#966731)
2016-02-15 15:32:26 +01:00
Marcus Huewe
6a69ecc137 - oops... unbreak copy_pac again (fixes #181)
Got broken in commit ffb37960ff.
2016-02-12 10:39:54 +01:00
Marcus Huewe
e8783d2501 - introduced new "request_show_source_buildstatus" config option
If enabled, it always shows the source buildstatus during
"osc rq show <id>" or "osc rq list --interactive". By default, it is
disabled.
2016-02-10 18:27:35 +01:00
Marcus Huewe
add34d65cb - support --source-buildstatus during interactive review 2016-02-10 18:19:22 +01:00