6c214d9255
release 0.183.0
2024-07-29 11:02:52 +02:00
56c08df3d6
Fix possibility to overwrite special files in .osc (CVE-2024-22034 boo#1225911)
...
Source files are now stored in the 'sources' subdirectory which prevents
name collisons. This requires changing version of '.osc' store to 2.0.
2024-07-29 11:02:52 +02:00
48baf9c84f
Fix errorneous double quotes in core.py
2024-07-18 08:44:40 +02:00
6eb8a64804
release 0.182.1
0.182.1
2023-04-27 10:01:09 +02:00
e9199c3f10
Merge pull request #1266 from Alix82/0.x-maint
...
Fix list no copy attribute on python2
2023-02-17 13:22:10 +01:00
Ali Abdallah
9d7cefa1ad
Fix list no copy attribute on python2
2023-02-17 09:09:10 +01:00
759537807c
Merge pull request #1138 from dmach/0.x/fix-crash-.ssh-dir-missing
...
Fix crash in ssh auth when .ssh directory is missing
2022-09-12 09:37:50 +02:00
c9e928e0bf
Fix crash in ssh auth when .ssh directory is missing
2022-09-09 11:40:53 +02:00
0b8f22b0c3
release 0.182.0
0.182.0
2022-09-08 13:33:46 +02:00
50bce2d6a7
Merge pull request #1134 from dmach/0.x/git-version
...
git_version: Return version from the source code if there's no matching tag
2022-09-06 13:22:32 +02:00
51b65ba9a8
git_version: Return version from the source code if there's no matching tag
2022-09-06 13:13:22 +02:00
99b2f54b50
Merge pull request #1130 from dmach/0.x/http-accept
...
Send HTTP header Accept: application/xml
2022-09-05 15:10:50 +02:00
c602d08453
Send HTTP header Accept: application/xml
...
Rails sends a html response if the header is not set
https://github.com/openSUSE/open-build-service/pull/13019
2022-09-05 14:04:46 +02:00
cedc7c006f
Merge pull request #1129 from dmach/0.x/gha-py2
...
GHA: Add python2 tests. Change branch to 0.x-maint.
2022-09-05 13:59:14 +02:00
f422f31d8b
GHA: Add python2 tests. Change branch to 0.x-maint.
2022-09-05 13:54:43 +02:00
ed7e360368
Merge pull request #1126 from dmach/0.x/fix-getallmatchingheaders
...
SSH auth: Fix getallmatchingheaders() output to correspond with headers.get_all()
2022-08-31 21:14:24 +02:00
96cac81a88
SSH auth: Fix getallmatchingheaders() output to correspond with headers.get_all()
2022-08-31 20:15:08 +02:00
1222942954
Merge pull request #1124 from hramrach/0.x-maint
...
Fixes for running on SLE12
2022-08-31 11:22:17 +02:00
Daniel Mach
9aa09ddac2
Fix build on SLE12
...
Fixes : #1123
Fixes : #1103
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
2022-08-30 19:06:19 +02:00
d8d4b0831c
release 0.181.0
0.181.0
2022-07-26 21:34:07 +02:00
6a77c4e01d
Merge pull request #1083 from dmach/fix/ssh-auth-unset-pass
...
Fix crash when 'pass' is not set in the config file
2022-07-26 21:27:44 +02:00
133a6e340c
Fix crash when 'pass' is not set in the config file
2022-07-26 15:07:40 +02:00
3db2fb6231
Merge pull request #1082 from dmach/scm_url-Package-filenamelist_unvers-crash
...
Add missing attributes to Package when scm_url is set
2022-07-26 14:09:28 +02:00
97b0961fe0
Add missing attributes to Package when scm_url is set
2022-07-26 13:13:37 +02:00
4deaf2b9c3
Merge pull request #1077 from abitrolly/relconf
...
Fix failure to create config in current dir
2022-07-26 09:37:29 +02:00
Anatoli Babenia
6a9398a97b
Fix failure to create config in current dir
...
This uses exception based protection from parallel execution
https://github.com/openSUSE/osc/pull/1077#discussion_r928976845
2022-07-26 09:04:15 +03:00
637cfe8471
Merge pull request #1023 from dmach/fix/622-additional-changes
...
parseRevisionOption(): Raise an exception on invalid revisons
2022-07-25 18:26:06 +02:00
33e994290e
Merge pull request #1079 from dmach/sshkey_ecdsa
...
Update list of considered file names for ssh key autodetection
2022-07-25 18:09:23 +02:00
9786aafa51
Update list of considered file names for ssh key autodetection
...
The file names come from ssh(1) man page.
2022-07-25 17:54:43 +02:00
f83e9a23d5
Merge pull request #1074 from dmach/pr1049-v2
...
RFC: ssh: recognize gpg keys (yubikey usage)
2022-07-25 13:52:31 +02:00
a7e5e12c5a
Allow users to prefer ssh key over password auth
...
If `sshkey` config option is set, then osc prefers it over password auth.
If `sshkey` config option is not set and the server supports both basic
and signature auth, basic auth is used and ssh key is NOT auto-detected.
Users who want to use ssh auth with ssh key auto-detection can now leave
the `pass` config option empty to trigger ssh key auto-detection.
The ssh-key autodetection picks the first key that matches:
- key loaded to ssh-agent (`ssh-add -l`) that has a public key in ~/.ssh
- ~/.ssh/{id_ed25519,id_rsa}
It is also recommended to use Obfuscated or Plaintext credentials manager.
Please be aware that storing passwords using these credentials managers
is unsafe, because they're stored in plain text on disk.
Example:
[<apiurl>]
user=<username>
pass=
# ssh key is auto-detected because `pass` is empty
sshkey=
credentials_mgr_class=osc.credentials.ObfuscatedConfigFileCredentialsManager
2022-07-22 08:20:44 +02:00
8f12f884c8
Merge pull request #1070 from adrianschroeter/fix_meta
...
Fix operating on _project meta
2022-07-12 08:39:49 +02:00
Martin Wilck
870d861b61
ssh: recognize gpg keys (yubikey usage)
...
When using ssh keys from gpg, there are no private key files on
disk. The public keys are available from "ssh-add -L". Conveniently,
users store the public keys in some ".pub" file under ~/.ssh
(see e.g. https://serverfault.com/questions/906871/force-the-use-of-a-gpg-key-as-an-ssh-key-for-a-given-server ;
this is also necessary to use IdentityFile= in ssh itself).
Thus public key files can't be ignored any more in list_ssh_dir_keys().
"ssh-keygen -Y sign" works nicely with a public key file if the agent
has access to the private key.
2022-07-11 13:08:34 +02:00
Adrian Schröter
932d4c5fa1
fix operating on _project meta
...
The removed code is plain wrong, ../_project/_meta?meta=1 exists
2022-07-11 11:16:15 +02:00
496e24fa84
Merge pull request #1068 from dmach/fix-emoji-in-message
...
Fix emoji in messages
2022-07-08 09:45:04 +02:00
8d843b5968
Revert "interpretation of string literals in messages"
...
Emojis were broken due to this commit.
The revert causes a change in behavior:
"\n" no longer gets resolved to a newline.
It is suggested to do the following instead:
$ osc <command> ... -m "first line
second line"
This reverts commit 16fda3115ca6d40771704e34400328ad8d65c9c7.
2022-07-07 15:42:22 +02:00
dba4041af0
Merge pull request #1066 from dmach/fix-git-version-github
...
Fix detecting version from git in archives from GitHub
2022-07-07 13:40:08 +02:00
115f6fb071
Merge pull request #1069 from adrianschroeter/fix_rpm_caching
...
fix product build rpm caching
2022-07-07 13:32:09 +02:00
194f829297
fix product build rpm caching
...
* src/noarch rpm packaages needs to be stored in scheduler architecture to avoid
conflicts of the multiple versions
* avoid removal of every downloaded file
2022-07-07 12:30:55 +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
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