fa8da38747
Merge pull request #1380 from dirkmueller/helpful_deprecation
...
Be helpful in deprecating commands
2023-08-16 17:00:29 +02:00
bf4b847f2c
Merge pull request #1382 from andreas-schwab/master
...
print_buildlog: Remove control characters from build log before printing (CVE-2012-1095)
2023-08-15 15:04:07 +02:00
01f6690b2b
Merge pull request #1384 from dmach/fix-conf-types
...
Add more config options among integer options
2023-08-15 15:02:05 +02:00
f9dc3122f9
Add more config options among integer options
2023-08-15 14:29:18 +02:00
d857e5dbf8
print_buildlog: Remove control characters from build log before printing (CVE-2012-1095)
2023-08-15 10:15:09 +02:00
f9fbfd8e9d
Be helpful in deprecating commands
...
At least give *some* hint of what needs to be done rather than
just barking at the user. Also remove description of obsolete
commands.
2023-08-10 13:42:52 +02:00
57a4cdc6a4
release 1.3.0
2023-08-09 13:34:16 +02:00
391abc26a0
Merge pull request #1378 from dmach/fix-tests-oscrc
...
Fix (lack of) loading oscrc in tests
2023-08-09 13:17:00 +02:00
7ad815a149
tests: Fix TestMirrorGroup to load oscrc from fixtures
2023-08-09 13:07:06 +02:00
a5816132c7
tests: Fix TestConf to load oscrc from fixtures
2023-08-09 13:04:17 +02:00
79a2a5fda6
tests: Unset OSC_CONFIG env during tearDown()
2023-08-09 13:04:17 +02:00
b36c2101ba
Merge pull request #1360 from dmach/edit-attribute
...
Make 'meta' command capable of editing attributes
2023-08-07 10:28:56 +02:00
e3149fb478
Merge pull request #1375 from Vogtinator/kiwiprefer
...
Fix --prefer-pkgs for noinstall="1" packages in kiwi builds
2023-08-07 10:27:08 +02:00
b8f10a1acd
Merge pull request #1376 from dmach/fix-less
...
Fix less pager by adding '-R' to LESS env
2023-08-07 10:23:20 +02:00
Fabian Vogt
4d432b6535
Fix --prefer-pkgs for noinstall="1" packages in kiwi builds
...
For kiwi to find those packages, they have to be in one of the listed repos.
Create a "_local" repo with all prefer-pkgs in buildinfo.
Note: The code currently doesn't look at noinstall at all, so any package
in the buildinfo which is provided by --prefer-pkgs is treated as noinstall="1"
and noinstall="0" simultaneously currently...
2023-08-01 15:33:59 +02:00
56747274d3
Fix less pager by adding '-R' to LESS env
2023-08-01 13:51:33 +02:00
95998ef80d
Make 'meta' command capable of editing attributes
2023-07-31 14:48:43 +02:00
001bbdf365
Merge pull request #1358 from dmach/setopt
...
Add '--setopt' option for setting config options from the command-line
2023-07-31 13:27:47 +02:00
8f58795f4d
Merge pull request #1352 from dmach/git-support-in-service-command
...
Update 'service' command to work with git SCM ('factory' branch only for now)
2023-07-31 09:39:38 +02:00
26b7c0a9e7
Merge pull request #1370 from ncounter/osc-rq-force-doc
...
Enhance '--force' parameter description
2023-07-31 08:56:35 +02:00
0749ee5684
Add support of Git SCM to the 'service' command
2023-07-31 08:43:05 +02:00
8aedb1c28f
Change pop_project_package_from_args() to use get_store() to support Git SCM
2023-07-31 08:43:05 +02:00
aae20248d7
Merge pull request #1344 from dmach/build-from-git
...
Support building directly from git
2023-07-31 08:41:46 +02:00
ncounter
1090bfd9bb
Enhance '--force' parameter description
...
https://github.com/openSUSE/open-build-service/issues/3687
The code is fixed: '--force' does ignore devel-package
dependencies now. Documenting it to make it clear while using it.
2023-07-28 17:09:45 +02:00
5a2ebda567
Raise a RuntimeError when GitStore.project couldn't determine project from the current branch
2023-07-28 14:42:52 +02:00
7943b55a6e
Add limited support of Git SCM to the 'build' command
2023-07-28 14:42:52 +02:00
4138a40e02
Use alternative project if specified in parse_repoarchdescr()
2023-07-28 14:42:52 +02:00
f60db24e15
Add 'git_scm' module for handling packages that live in git scm rather than usual obs scm
2023-07-28 14:41:59 +02:00
71dc7a6808
Merge pull request #1367 from dmach/request-list-i-build-log
...
Add an interactive option to display build log in 'request list -i' command
2023-07-27 15:09:09 +02:00
87d1c489f2
Merge pull request #1369 from dmach/build-store-object
...
Change osc.build module to use 'store' object instead of calling core.store_*() functions
2023-07-27 13:34:30 +02:00
401bdc9787
Merge pull request #1372 from dmach/improve-print_msg
...
Improve print_msg() and migrate some arbitrary prints to it
2023-07-27 10:52:11 +02:00
99fb94eddf
Improve print_msg() and migrate some arbitrary prints to it
2023-07-27 10:16:08 +02:00
a9af18dded
Change osc.build module to use 'store' object instead of calling core.store_*() functions
...
Also drop the "This may be a project managed entirely via git?" section
because it was never triggered due to a bug:
>>> project = store_read_project(Path.cwd())
should have been
>>> project = store_read_project(Path.cwd().parent)
Let's bring it back when a proper git scm support is in place.
2023-07-25 16:21:13 +02:00
c56d9fcca6
Add an interactive option to display build log in 'request list -i' command
...
Also show rpmlint logs in pager.
2023-07-20 13:02:00 +02:00
1284867dbb
Merge pull request #1359 from dmach/checkout-dont-print-open-requests
...
Change 'checkout' command to print open requests only when running in an interactive terminal
2023-07-20 10:49:12 +02:00
b8f6f070a0
Merge pull request #1366 from dmach/connection-proxy-no-auth
...
Fix crash when HTTP_PROXY env contains no auth
2023-07-20 10:33:04 +02:00
eaad34fefd
Fix crash when HTTP_PROXY env contains no auth
2023-07-20 09:07:43 +02:00
6f58d4f925
Merge pull request #1362 from dmach/meta-attribute-add-deduplicate
...
Change '--add' option in 'meta attribute' command to skip duplicate values
2023-07-18 21:38:16 +02:00
2d9277215d
Merge pull request #1361 from dmach/fix-xml-indent-py36
...
Fix xml indent() on Python 3.6
2023-07-18 21:36:47 +02:00
ac23ed0fca
Change '--add' option in 'meta attribute' command to skip duplicate values
2023-07-18 15:37:43 +02:00
658f2acb4f
Fix xml indent() on Python 3.6
2023-07-18 14:25:43 +02:00
9ec1b24c2e
Add '--setopt' option for setting config options from the command-line
2023-07-17 09:15:28 +02:00
3e08681167
Change 'checkout' command to print open requests only when running in an interactive terminal
2023-07-17 09:03:12 +02:00
c22aceb28d
release 1.2.0
2023-07-14 11:08:24 +02:00
ba2488a702
Merge pull request #1324 from dmach/repo-commands-for-managing-repositories-in-meta
...
Add 'repo' command and subcommands for managing repositories in project meta
2023-07-14 10:57:40 +02:00
a2e6a3b0be
Merge pull request #1353 from asdil12/diff
...
Add highlighting for "osc diff" and similar commands
2023-07-14 10:55:45 +02:00
80c8976d5d
Merge pull request #1356 from isbm/isbm-debbuild-fix
...
Do not determine queried package by the source package origin
2023-07-14 10:04:16 +02:00
Dominik Heidler
42d778be04
Add highlighting for "osc diff" and similar commands
2023-07-14 10:00:15 +02:00
404b54a980
Merge pull request #1354 from dmach/fix-lbl
...
Fix a crash in 'localbuildlog' command by removing unwanted decode_it() call
2023-07-13 14:16:29 +02:00
Bo Maryniuk
3559336247
Detect target package by its full name, instead of assuming its origin is identical to the source package type
2023-07-13 13:46:01 +02:00