autobuild 1.25.1 → 1.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/autobuild/import/git.rb +16 -3
- data/lib/autobuild/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 776341641d5c861e5f7a2901347fa270d9e05eb1a5f7d214353c05ce25873fdf
|
|
4
|
+
data.tar.gz: 7a71cd5a64584ff2a51a19df3207f5a5de1be61fbc531247c040b12a96a8e206
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f82314c0cc4b396805b5eb4360c618e9447514c233c2c907eccd47de3b553d173dbc0fecd1357b64df58817f61123499d31c13f7c6870da0172223bfb6632ca1
|
|
7
|
+
data.tar.gz: d01329c9ecd6d3d1dce42864ea2ed91284b1031152b4671f591bbe43042bc7190140b95da7073be72c0fc51e2d719637476c8d2bb0fdd59d233642314790bea7
|
data/lib/autobuild/import/git.rb
CHANGED
|
@@ -179,8 +179,18 @@ module Autobuild
|
|
|
179
179
|
with_submodules: false,
|
|
180
180
|
fingerprint_mode: Git.default_fingerprint_mode,
|
|
181
181
|
single_branch: Git.single_branch?,
|
|
182
|
-
shallow:
|
|
182
|
+
shallow: nil
|
|
183
183
|
)
|
|
184
|
+
if gitopts[:shallow].nil? && Git.shallow?
|
|
185
|
+
# Support for shallow clones is limited ... do not auto-set it
|
|
186
|
+
# if we are in conditions where it will generate an error later
|
|
187
|
+
gitopts[:shallow] =
|
|
188
|
+
if gitopts[:tag]
|
|
189
|
+
gitopts[:single_branch]
|
|
190
|
+
else
|
|
191
|
+
!gitopts[:commit]
|
|
192
|
+
end
|
|
193
|
+
end
|
|
184
194
|
|
|
185
195
|
if gitopts[:branch] && branch
|
|
186
196
|
raise ConfigException, "git branch specified with both the option hash "\
|
|
@@ -1303,8 +1313,11 @@ module Autobuild
|
|
|
1303
1313
|
return false
|
|
1304
1314
|
end
|
|
1305
1315
|
if tag && !single_branch?
|
|
1306
|
-
Autoproj.warn
|
|
1307
|
-
|
|
1316
|
+
Autoproj.warn(
|
|
1317
|
+
"#{package.name}: "\
|
|
1318
|
+
"Cannot pin a tag while doing a shallow clone " \
|
|
1319
|
+
"if single_branch is not set"
|
|
1320
|
+
)
|
|
1308
1321
|
return false
|
|
1309
1322
|
end
|
|
1310
1323
|
if @remote_branch
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: autobuild
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.25.
|
|
4
|
+
version: 1.25.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sylvain Joyeux
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: concurrent-ruby
|
|
@@ -285,7 +285,7 @@ homepage: http://rock-robotics.org
|
|
|
285
285
|
licenses:
|
|
286
286
|
- BSD
|
|
287
287
|
metadata: {}
|
|
288
|
-
post_install_message:
|
|
288
|
+
post_install_message:
|
|
289
289
|
rdoc_options: []
|
|
290
290
|
require_paths:
|
|
291
291
|
- lib
|
|
@@ -300,8 +300,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
300
300
|
- !ruby/object:Gem::Version
|
|
301
301
|
version: '0'
|
|
302
302
|
requirements: []
|
|
303
|
-
rubygems_version: 3.
|
|
304
|
-
signing_key:
|
|
303
|
+
rubygems_version: 3.4.20
|
|
304
|
+
signing_key:
|
|
305
305
|
specification_version: 4
|
|
306
306
|
summary: Library to handle build systems and import mechanisms
|
|
307
307
|
test_files: []
|