Tianon Gravi
1eebbf318f
Remove unnecessary extra "if"
...
This is something I missed in #32 😅
2021-08-16 13:22:48 -07:00
Tianon Gravi
4c95a9e960
Merge pull request #32 from infosiftr/shared-tags-children
...
Fix edge case of children for images that are FROM a SharedTag
2021-08-16 13:05:15 -07:00
Tianon Gravi
16fb204c2d
Fix edge case of children for images that are FROM a SharedTag
2021-08-16 11:16:50 -07:00
yosifkit
7d4279f9b7
Merge pull request #31 from infosiftr/arch-filter
...
Add "--arch-filter" flag that mimics "--skip-constraints"
2021-08-04 10:50:03 -07:00
Tianon Gravi
a880f4389f
Add "--arch-filter" flag that mimics "--skip-constraints" but without printed warnings and without applying Constraints
2021-08-02 17:12:49 -07:00
Tianon Gravi
6b94cffe46
Handle an empty BASHBREW_ARCH variable
2021-08-02 17:11:59 -07:00
yosifkit
3ebdb4c18f
Merge pull request #30 from infosiftr/scratch-platform
...
Set DOCKER_DEFAULT_PLATFORM when building "FROM scratch" images
2021-08-02 15:25:28 -07:00
Tianon Gravi
b9b4dacdc0
Set DOCKER_DEFAULT_PLATFORM when building "FROM scratch" images
...
This will make sure "variant" gets set properly on the resulting images if our Docker version is 20.10+.
We set this as tightly/sparingly as possible because the `--platform` flag is used for several different things inside Docker, the most visible being platform mismatch warnings/errors that we want to avoid.
2021-08-02 14:56:31 -07:00
Tianon Gravi
cec2d64846
Fix bug in munge-i386
2021-08-02 10:48:52 -07:00
Tianon Gravi
1da7341a79
Fix jq-template to properly count {{ }} pairs
...
This fixes edge cases like:
```
{{ foo }} {{ bar }} {{
baz
| buzz
}}
```
2021-07-16 15:34:01 -07:00
Tianon Gravi
faf7efe8f4
Switch from SKS to Ubuntu keyserver
...
See also https://github.com/docker-library/faq#openpgp--gnupg-keys-and-verification and https://github.com/tianon/pgp-happy-eyeballs
2021-06-22 14:18:59 -07:00
Tianon Gravi
9df92226ae
Bump version to 0.1.3 (post-release)
2021-03-10 13:42:43 -08:00
Tianon Gravi
7a58081e4f
Merge pull request #26 from infosiftr/go1.16
...
Update to Go 1.16
2021-03-10 21:25:56 +00:00
Tianon Gravi
7143aaa8ad
Update to Go 1.16
...
(and add riscv64 binaries 👀 )
2021-03-10 13:04:46 -08:00
Tianon Gravi
e7586033ad
Add simple script for detecting the bashbrew architecture of a system
2021-03-10 10:20:13 -08:00
Tianon Gravi
2ed9d91c79
Merge pull request #25 from infosiftr/go-debian
...
Update pault.ag/go/debian to v0.11.0
2021-02-09 10:56:54 -08:00
Tianon Gravi
4c86d18022
Update pault.ag/go/debian to v0.11.0
2021-02-08 11:02:41 -08:00
yosifkit
e7cedb7a54
Merge pull request #24 from infosiftr/maintainer-struct
...
Add explicit Manifest2822Maintainer struct
2021-02-01 16:29:58 -08:00
Tianon Gravi
8c7ed36470
Add explicit Manifest2822Maintainer struct
...
This allows us to more easily/reliably generate lists of users to ping on PRs (with the goal to ping them automatically, if one of them is not the PR author).
This is technically a breaking change, but I consider myself probably the most prolific user of bashbrew format strings (which is where this breakage would exhibit itself -- `bashbrew cat` should be unaffected), and I have exactly one script broken by it. That script was doing some processing to generate this exact data, so IMO this is a win. 😁
bashbrew cat --format='- `{{ $.RepoName }}`:{{ range .Manifest.Global.Maintainers }} @{{ .Handle }}{{ end }}' ...
2021-02-01 11:00:04 -08:00
Tianon Gravi
00e281f36e
Update "jq-template.awk" to ignore pure-comment lines
...
{{ # ... -}}
2021-01-21 22:11:56 -08:00
yosifkit
8e42901dea
Merge pull request #21 from infosiftr/dockerhub-public-proxy
...
Add support for DOCKERHUB_PUBLIC_PROXY in skipping code
2020-12-10 17:14:01 -08:00
Tianon Gravi
44725baa98
Add support for DOCKERHUB_PUBLIC_PROXY in skipping code
...
This allows us to inject authentication at a separate layer, thus avoiding rate limiting.
2020-12-10 17:04:09 -08:00
Tianon Gravi
8e74bdc167
Remove "sort.Strings" on manifest-list digest comparisons
...
This bug causes reorderings (like the one required for https://github.com/docker-library/mongo/pull/444 ) to incorrectly no-op because order actually *does* matter here.
2020-12-04 13:33:50 -08:00
Tianon Gravi
a0906cbda5
Fix typo
2020-11-09 11:08:24 -08:00
Tianon Gravi
07c3c9f599
Properly skip more things that we know "manifest-tool" will balk at (empty "manifests:" list)
2020-09-17 13:53:38 -07:00
Tianon Gravi
74e9c33de4
Fix edge case in detecting things we don't expect to push
2020-09-16 16:16:44 -07:00
yosifkit
137b0bf7e0
Merge pull request #20 from infosiftr/registry
...
Use containerd resolver/fetcher to query registry for "skip checking"
2020-09-15 17:11:42 -07:00
Tianon Gravi
a6373f407d
Use containerd resolver/fetcher to query registry for "skip checking"
2020-09-15 15:50:00 -07:00
Tianon Gravi
ac3e8e9541
Merge pull request #19 from infosiftr/jq-template
...
Add initial jq-template.awk
2020-08-28 14:56:57 -07:00
Tianon Gravi
5f0c26381f
Add initial jq-template.awk
2020-08-27 15:39:03 -07:00
Tianon Gravi
76ed309a0c
Bump version to 0.1.2 (post-release)
2020-08-24 16:34:31 -07:00
yosifkit
f81eec301c
Merge pull request #18 from infosiftr/update-mods
...
Update Go dependencies
2020-08-24 15:42:20 -07:00
Tianon Gravi
e609341812
Update Go dependencies
2020-08-21 14:43:01 -07:00
Tianon Gravi
5efa400516
Update "pault.ag/go/debian" to fix https://github.com/paultag/go-debian/issues/104
2020-08-21 14:35:45 -07:00
Tianon Gravi
9f95f29c29
Merge pull request #17 from infosiftr/go-dockerlibrary
...
Merge github.com/docker-library/go-dockerlibrary into bashbrew
2020-08-21 13:49:41 -07:00
Tianon Gravi
143301cc9e
Merge github.com/docker-library/go-dockerlibrary into bashbrew
...
This adjusts import paths, go.mod, and adds a new "Dockerfile.test" to run the unit tests.
2020-08-19 16:21:07 -07:00
Tianon Gravi
25ef470134
Remove redundant files
2020-08-19 15:53:15 -07:00
Tianon Gravi
f3591521e7
Merge pull request #26 from infosiftr/line-based-errors
...
As a first step towards line-based manifest file deprecation, stop returning line-based parsing errors
2020-08-19 15:44:08 -07:00
Tianon Gravi
718495e812
As a first step towards line-based manifest file deprecation, stop returning line-based parsing errors
2020-08-19 13:49:08 -07:00
Tianon Gravi
818df5f5b0
Fix nasty bug in output of "bashbrew children --uniq"
...
This was showing the repository of the repo-under-test with the tag of the child ("alpine:1.6.15-alpine" instead of "haproxy:1.6.15-alpine")
2020-05-29 13:26:25 -07:00
Tianon Gravi
013567335e
Update to github.com/go-git/go-git v5.1.0
...
See https://github.com/go-git/go-git/releases/tag/v5.1.0 for more details.
2020-05-26 12:09:00 -07:00
Tianon Gravi
e4869c6dd1
Fix "bashbrew --namespace foo list --repos bar" (should prefix with namespace)
2020-05-18 17:35:14 -07:00
Tianon Gravi
a40a54d4d8
Add "--uniq" to "parents"/"children" (and have it actually do the right thing)
2020-05-14 12:23:39 -07:00
Tianon Gravi
7c78a8a385
Fix interesting edge-case bug with "parents"/"children" and SharedTags interacting poorly
2020-05-14 12:14:35 -07:00
yosifkit
870ac0fb84
Merge pull request #12 from infosiftr/go-git-fetch-commit
...
Use new go-git functionality to fetch commits
2020-05-11 11:51:51 -07:00
Tianon Gravi
daa5333f67
Use new go-git functionality to fetch commits
...
This avoids shelling out by using the implementation from 8ecd388ae1 , which is going to be much more performant.
2020-05-11 11:21:57 -07:00
Tianon Gravi
0fc0b0968a
Add a "defaults" template function that returns "manifest.DefaultManifestEntry" (especially for doing "ClearDefaults" to be able to fully replicate the default output of "bashbrew cat", but in a different order)
2020-05-07 21:14:36 -07:00
Tianon Gravi
374f44bea9
Drop periodic pipelineTriggers from Jenkinsfile
...
The parent "multi-branch pipeline" already does SCM polling, so this is simply unnecessary.
2020-05-06 12:10:25 -07:00
Tianon Gravi
a986fdc583
Merge pull request #5 from infosiftr/go-git-v5
...
Update to github.com/go-git/go-git v5
2020-05-06 11:48:23 -07:00
Tianon Gravi
64bfd4ce30
Update to github.com/go-git/go-git v5
2020-05-06 11:42:58 -07:00