Adam Majer
f10247014d
Process input with configurable project separators
...
This allows for usage of configurable project name separator in
the command line inputs
Fixes : #1024
2022-07-04 15:05:05 +02:00
Adam Majer
c4c2d2a933
Add project_separator to config file
...
This allows for arbitrary string to be used as a project
separator instead of restricting oneself to : or directory
structure.
Fixes : #1024
2022-07-04 15:05:05 +02:00
2aaefb7c79
Fix detecting version from git in archives from GitHub
...
There seem to be a bug in how GitHub generates archives.
"Format:" and "$" characters get removed from the version string,
setting it to:
version = "%(describe:tags=true)"
2022-07-04 14:43:21 +02:00
515db3dea0
release 0.180.0
2022-06-24 15:23:26 +02:00
e9837b08cc
Merge pull request #1064 from dmach/tests-fix
...
Move test runner from pytest back to standard unittest
2022-06-24 13:16:35 +02:00
c1046650d3
Move test runner from pytest back to standard unittest
...
One dependency less.
It would also become a problem on CentOS Stream 9 where pytest is not available.
2022-06-24 13:06:01 +02:00
76d5d56b93
Merge pull request #1063 from dmach/git-version-fix
...
Fix crash in determining git version when git command is not available
2022-06-24 12:30:18 +02:00
fec667c70d
Fix crash in determining git version when git command is not available
2022-06-24 12:24:53 +02:00
e6061da1d6
Merge pull request #1056 from dmach/fix-invalid-credentials-manager-traceback
...
Don't traceback on invalid credentials manager
2022-06-24 08:54:11 +02:00
9a5c775d47
Merge pull request #1062 from adrianschroeter/gitupdate
...
fix crash on "osc up" for git based package/projects
2022-06-24 08:53:42 +02:00
45268e5cb5
Merge pull request #1037 from dmach/fix/git-version-compatible-with-pip
...
Make osc git version compatible with pip to mute the PEP 440 warning
2022-06-24 08:52:17 +02:00
253d760a76
fix crash on "osc up" for git based package/projects
2022-06-24 08:46:49 +02:00
8dbdc1322a
Merge pull request #1061 from dmach/move-codecov-to-separate-step
...
GHA: Move test coverage to a separate step
2022-06-21 21:38:03 +02:00
6946455e55
GHA: Move test coverage to a separate step
2022-06-21 17:10:42 +02:00
0377766f8e
Merge pull request #1059 from dmach/github-actions
...
Run unit tests in GitHub Actions
2022-06-21 14:07:30 +02:00
cd36b6415f
Run unit tests in GitHub Actions
2022-06-21 13:51:25 +02:00
3da0a9a9ba
Improve README, rename it to README.md
2022-06-21 13:40:13 +02:00
5e8413ecb6
Don't traceback on invalid credentials manager
2022-06-21 08:33:38 +02:00
6b9293cd79
Merge pull request #1053 from lethliel/fix_confpy_for_python2
...
declare OscHTTPSignatureAuthHandler as a new-style class
2022-06-17 10:08:25 +02:00
lethliel
d9e2d958c1
declare OscHTTPSignatureAuthHandler as a new-style class
...
remove illegal character in comment
2022-06-14 14:27:48 +02:00
1c6564f717
Merge pull request #1051 from dmach/fix/scm-commit-warning
...
Warn when trying to commit a prj/pac managed in scm
2022-06-08 14:56:34 +02:00
295ea7f356
Warn when trying to commit a prj/pac managed in scm
2022-06-08 14:18:33 +02:00
40067dce0a
Auto-generate git versions compatible with PEP 440
...
`git archive` is configured to set osc version according to the git tag
via .gitattributes/export-subst
2022-06-08 08:48:50 +02:00
715a30f3f3
Fix release 0.179.0 - make sphinx optional in setup.py
2022-06-02 17:18:52 +02:00
0b4158590c
release 0.179
2022-06-02 14:29:11 +02:00
0a1d47d920
Merge pull request #1034 from andreas-schwab/master
...
Fix check for empty details
2022-06-02 13:31:00 +02:00
dec6f7135d
Merge pull request #1043 from dirkmueller/download_url_quoting
...
Fix quoting of download urls
2022-06-02 13:28:59 +02:00
eac5434700
Merge pull request #928 from jengelh/master
...
osc co/up: highlight pending requests' header
2022-06-02 10:23:58 +02:00
fad89f8e09
Merge pull request #1027 from adrianschroeter/github
...
add another exception for github URLs for "osc add"
2022-06-02 10:21:02 +02:00
1715163166
Merge pull request #994 from dmach/update-sphinx-configuration
...
Update Sphinx configuration
2022-06-02 10:09:38 +02:00
a223dd085a
Merge pull request #1009 from dmach/aggregatepac-flavor
...
Support flavors in aggregatepac
2022-06-02 10:06:21 +02:00
cf5da11b26
Enable md5 revisions in osc log
2022-06-02 10:02:32 +02:00
ca9dc30643
parseRevisionOption(): Raise an exception on invalid revisions
2022-06-02 10:01:57 +02:00
2a1faddc08
Merge pull request #1048 from adrianschroeter/ssh_fix
...
ssh key authentification fixes
2022-06-02 09:03:42 +02:00
1f8fc339de
ssh key authentification fixes
...
- do not crash when having binary files in ~/.ssh
- support also RSA key setups
2022-06-01 16:23:02 +02:00
981440aa4e
Merge pull request #1047 from Ionic/bugfix/no-cmdline-args
...
commandline: handle calls without arguments gracefully
2022-05-31 09:17:42 +02:00
Mihai Moldovan
f2474fa7f0
commandline: handle calls without arguments gracefully
...
Fixes the following error:
```
% osc
Traceback (most recent call last):
File "/usr/bin/osc", line 45, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python3.10/site-packages/osc/babysitter.py", line 67, in run
return prg.main(argv)
File "/usr/lib/python3.10/site-packages/osc/cmdln.py", line 341, in main
self.postoptparse()
File "/usr/lib/python3.10/site-packages/osc/commandline.py", line 137, in postoptparse
if self._get_canonical_cmd_name(self.args[0]) == "help":
IndexError: list index out of range
```
2022-05-30 20:43:37 +02:00
ac6b615575
release 0.178
2022-05-24 14:19:37 +02:00
Marco Strigl
c3d535c3b2
Merge pull request #1012 from adrianschroeter/obs_git
...
initial obs-git support
2022-05-24 11:39:45 +02:00
02b3d70e9c
Merge pull request #1032 from mlschroe/master
...
Implement the Signature authentication scheme
2022-05-23 13:14:08 +02:00
Michael Schroeder
badcfc283c
Remove no longer used modules
2022-05-23 11:23:13 +02:00
Michael Schroeder
b8f76f7990
OscHTTPSignatureAuthHandler: try to guess ssh key from the keys added to ssh-agent
...
Based on a patch by Daniel Mach
2022-05-23 11:23:05 +02:00
Dirk Müller
b7ed6534eb
trailing whitespace cleanup
2022-05-20 12:00:44 +02:00
Dirk Müller
7b759dc8bc
Prefer list comprehensions
2022-05-20 11:57:06 +02:00
Dirk Müller
8ba078a872
use percent-quoted url for download url generation
...
We need to percent-quote base urls because they will
be used in named-percent-substitution afterwards.
2022-05-20 11:57:06 +02:00
Marco Strigl
754af85423
Merge pull request #1042 from openSUSE/dmach-issue-templates
...
Create issue templates
2022-05-17 12:09:58 +02:00
Daniel Mach
8974b4cca8
Create issue templates
2022-05-17 11:28:52 +02:00
Marco Strigl
f2acd615ed
Merge pull request #1003 from dmach/setup.py-test
...
Run tests via calling 'setup.py test'
2022-05-12 11:02:37 +02:00
Marco Strigl
ed78dcbfd2
Merge pull request #1033 from dmach/linkdiff-missing-added-file
...
linkdiff: Raise an exception when an added file is missing
2022-05-12 10:51:15 +02:00
Marco Strigl
4ee5d6b603
Merge pull request #1036 from dmach/fix/copypac-completion
...
Add missing space to copypac completion
2022-05-12 10:49:05 +02:00