Marcus Huewe
504a6cf061
Merge branch 'pass-apiurl' of https://github.com/aspiers/osc
2016-10-04 13:20:37 +02:00
Adam Spiers
8c45eb64ad
pass apiurl to source services ( #234 )
...
Some source services need to know the apiurl, e.g. to lookup values
in the ~/.oscrc config file.
Closes #234 .
https://github.com/openSUSE/osc/issues/234
2016-10-01 22:50:33 +01:00
Marcus Huewe
b4d4d3c027
do_vc: don't contact the api if the "email" config option is set
2016-09-23 16:37:23 +02:00
Marcus Huewe
fdb773bbc9
setup.py: make build_docs' base class more explicit
...
distutils.command.build.Command is distutils.core.Command.
2016-09-16 16:09:59 +02:00
Marcus Huewe
7849e23eb5
setup.py: take potential "--build-base=<dir>" option into account
...
For instance, if osc is build and installed like this:
python setup.py build --build-base=<dir> ... install ...
The patch is based on Roman Neuhauser's (neuhauser@sigpipe.cz )
PR (see https://github.com/openSUSE/osc/pull/229 ).
2016-09-16 16:04:25 +02:00
Marcus Huewe
2816f325ca
Fix logic error in do_my
...
A dict doesn't work here (however, this codepath shouldn't be reached at
all).
2016-09-13 12:39:24 +02:00
Marcus Huewe
e9cc000987
Fix non-existent user handling in do_my/get_user_projpkgs_request_list
...
This fixes the issue reported in PR #227 .
2016-09-13 12:34:48 +02:00
Marcus Huewe
07e0628d9e
get_package_results: added None check
2016-09-09 16:24:26 +02:00
Marcus Huewe
d60a8601d9
Merge branch 'patch-1' of https://github.com/ssedlmaier/osc
2016-09-09 16:23:23 +02:00
ssedlmaier
a536ef5e64
get_package_results: check actual package status
...
At the moment only the project status is taken into account when determining when to stop watching a build.
This leads to wrong behavior when a package is in 'blocked' for a longer time.
In this state the project status and code is 'published' but the package remains at 'blocked'.
With this additional check this problem is fixed.
2016-09-09 14:46:28 +02:00
Marcus Huewe
bdec204600
treat code 500 as 414 in get_project_sourceinfo
...
Depending on, e.g., the apache2 configuration, status 500 is returned in case
of an "uri too long" error.
2016-09-09 13:34:21 +02:00
Marcus Huewe
3b1409fd33
Sigh... fix error message
2016-09-09 13:23:55 +02:00
Marcus Huewe
008c456942
Removed debug output
...
Introduced in commit 2953d65220
.
2016-09-09 13:22:40 +02:00
Marcus Huewe
2953d65220
Hint to the --noservice option in do_commit in case of a missing service
...
Also, this simplifies the service related error handling in do_commit/_commit
a bit.
2016-09-09 13:20:15 +02:00
Marcus Huewe
78e0aa90f5
Fix "args" handling in class PackageNotInstalled
2016-09-09 13:14:35 +02:00
Marcus Huewe
8e7189b391
Restore support for "osc add prj/dir"
...
This is used to turn "dir" into a package and add it to the version
control (got broken in commit b6f7d1be6c
).
Integrated the obscpio code that was introduced in commit
b6f7d1be6c
into core.addFiles (XXX: we
should get rid of the run_external(..., shell=True) code).
2016-08-26 17:12:09 +02:00
Marcus Huewe
00c8876791
core.addFiles: improve usability a bit (as suggested by darix)
...
The previous errors are in fact just warnings.
2016-08-26 16:28:19 +02:00
Marcus Huewe
716560f628
Merge branch 'deploy-on-pypi' of https://github.com/toabctl/osc
2016-08-23 15:46:37 +02:00
Thomas Bechtold
aa5b762c6c
travis: Automatically deploy tags on pypi
...
osc should be available on pypi for easy installation via pip.
And travis can automatically deploy on pypi so do the setup for this.
Closes #183
2016-08-22 18:17:15 +02:00
Marcus Huewe
e7dc0c740a
Removed bogus check in get_package_results ( fixes #224 )
...
The bogus check is twofold: the first error is due to a wrong
refactoring (repostate was intended to be the "code" attribute
and "code" was supposed to the "code" attribute of the status
node) (see commit f3a1d12a
). The second error is a logic error
in the original code, because the package state "succeeded" and
the repostate "unpublished" is a valid combination. Consequently,
the check didn't make any sense...
2016-08-18 01:24:34 +02:00
Marcus Huewe
556b101076
Merge branch 'master' of https://github.com/andreas-schwab/osc
...
get_prefer_pkgs: don't ignore debuginfo packages
2016-08-17 13:08:45 +02:00
0c00108521
get_prefer_pkgs: don't ignore debuginfo packages
2016-08-17 09:44:36 +02:00
Marcus Huewe
05ab19bda7
Merge branch 'master' of https://github.com/andreas-schwab/osc
...
babysitter.run: decode entities in error summary
2016-08-17 01:52:07 +02:00
Marcus Huewe
b5679dee81
Introduced wrongly spelled "--seperate-requests" option again
...
Just for backward compatibility - will be removed in the
future. See commit b9a53e3527
.
2016-08-17 01:43:19 +02:00
Marcus Huewe
a241a94064
Merge branch 'spelling-fix' of https://github.com/jmcdough/osc
2016-08-17 01:35:31 +02:00
Jim McDonough
b9a53e3527
Fix spelling of --separate-requests
2016-08-16 11:40:34 -04:00
Marcus Huewe
8f2e0d9116
Merge branch 'arm' of https://github.com/andreas-schwab/osc
2016-08-08 13:11:25 +02:00
9f00759e02
Support arm packages in pkg-prefer
2016-08-08 10:35:14 +02:00
Andreas Schwab
9be4295c73
- babysitter.run: decode entities in error summary
2016-08-04 12:45:30 +02:00
dd1228c872
fix reading of local package directory in release command (osc#218)
2016-08-02 14:09:18 +02:00
9a3f33d5e3
open 0.156 development
2016-07-29 16:06:53 +02:00
a2a6cc95f5
version 0.155.0
2016-07-29 16:03:59 +02:00
Marcus Huewe
4809ac8be4
Merge branch 'master' of https://github.com/olafhering/osc
2016-07-28 13:06:39 +02:00
Olaf Hering
9aee047a25
Check for existance of .oscrc before collecting alias
...
Signed-off-by: Olaf Hering <olaf@aepfle.de>
2016-07-28 12:32:58 +02:00
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