packaging_rake_tasks 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/tasks/osc.rake +5 -0
  4. metadata +2 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 555386f0f7665eb189bdd563691fd09a8a9c622f
4
- data.tar.gz: c63a51eec0aeda4c59f9f2d88d80b1b9bec69cf9
3
+ metadata.gz: ba0a1e363a3adbd6048c73131b6b469cc857cc02
4
+ data.tar.gz: 4ed101f1c058eec9ca4e4ead744a5e0eb2c3b8ff
5
5
  SHA512:
6
- metadata.gz: fcb61088f84c237dd626a140a9a4bba46d1fbe6ed46f5e405f0e61a1400ed14f07b9a1cd20b1aa20eb48b506b8c33313939d80499566bc99bb330517d6c1875c
7
- data.tar.gz: ffae4cdca6851ba356db68e8fba00182bef7ac4adbdc3c7e5d8cd26f07921fda98dea91ae84cd80542a84c11efe6d056b988827041d8c804d3f62ac06e537f54
6
+ metadata.gz: 780c5ca78b2160ed2151ab3b85cc47d43a7a31c1476c46df6e15eb76f0c2719a5c8abefc74d6b5ee3117eac0ce711dc29ed56224719489b7bf09b4a11e3fe7ef
7
+ data.tar.gz: 68dff73a2ee52aa24236e22127a8d154bf47e71f7d2799f804b2d6c9c2a4ebda1e8482c717fd36a15a98eadf813f2eb6dd2f782ee34408ba18552f038572486a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.4.1
@@ -227,6 +227,11 @@ namespace :osc do
227
227
  namespace "sr" do
228
228
  desc "Create submit request from devel project to target project without any other packaging or checking"
229
229
  task :force do
230
+ # wait for the server service to finish to avoid "service in progress"
231
+ # error when creating a SR for a freshly commited package
232
+ puts "Waiting for the server side service..."
233
+ sh "osc", "-A", obs_api, "service", "wait", obs_project, package_name
234
+
230
235
  new_version = version_from_spec("#{package_dir}/#{package_name}.spec")
231
236
  if Packaging::Configuration.instance.maintenance_mode
232
237
  sh "yes | osc -A '#{obs_api}' maintenancerequest --no-cleanup '#{obs_project}' '#{package_name}' '#{obs_sr_project}' -m 'submit new version #{new_version}'"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packaging_rake_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Reidinger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-21 00:00:00.000000000 Z
11
+ date: 2017-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -72,4 +72,3 @@ specification_version: 4
72
72
  summary: Rake tasks providing tasks to package project in git and integration with
73
73
  build service
74
74
  test_files: []
75
- has_rdoc: