Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/QubesOS/qubes-builderv2
Next generation of Qubes OS builder
https://github.com/QubesOS/qubes-builderv2
Using `rm -rf` is almost guaranteed to cause data loss, and loses all
protection against rollbac...
For now, build fails all the time because of missing tb version.
See for example: https://gitlab...
Also fix issues caught by shellcheck.
052e8ac0e18909f61288c40856cb1b72048fc6ff authored over 2 years ago98211ec7048d56822a675be9278687dd0b3f39cf authored over 2 years ago
* origin/pr/29:
Use correct function for substitution
Use subprocess.DEVNULL instead of an e...
2d213a0d116a6ee75a91836423c2f8a2e4e25b51 authored over 2 years ago
b448268bf4dbae504ad96b454d3010c8f94f89b1 authored over 2 years ago
We disable them for now, there is several fixes needed.
41cc7085ee7473afa010ce12d513fbfdb2456dce authored over 2 years ago6428574a46827530d46ab598b1e7338355bf1fde authored over 2 years ago
885a3e2a8fc636af9fa1cd037f2a88ef8916590e authored over 2 years ago
2b974d6d32d633a631c5a5b623a9f92aa0e19313 authored over 2 years ago
0a759923aabfe9be1696ae31b21349fa5114d4a3 authored over 2 years ago
57114bae69ef3fb76b7306b21055a8ac1cd25290 authored over 2 years ago
cad6b148f596865177cf5f4aeb6056ff2200888d authored over 2 years ago
7887b25875b18cc5a20a1503bf70941898b825bc authored over 2 years ago
Avoid an AttributeError. Found by mypy.
82cc76c616d72067e51a6db4fdc0b0456608cdc4 authored over 2 years agoThis avoids leaks and is more idiomatic.
ac65f07508cc7f148ccdec7b970b77271ef3f7e4 authored over 2 years agoAvoids leaking zombie processes and a mypy error.
76e2e28334b0191fe0483dd6b09d2c0366284bd9 authored over 2 years ago4ccf02f44ff5bb2ac1c399f748d014b844b3f8ad authored over 2 years ago
aa1e844e3cffd37ba8de67498f1b8f1179969ea7 authored over 2 years ago
839475a0edefdf62f17cca0a2aea13cc432cdbbf authored over 2 years ago
4723bfc418e71898601ae6202569ff20c0f9dd71 authored over 2 years ago
f3475bfc7ef2230069fa399918b2f9bb432155a8 authored over 2 years ago
f679b6b31a0ef357302ea5ff82d808bb08d0388f authored over 2 years ago
50f1cd4085fa6d46b5debfb736d041e2037967bd authored over 2 years ago
53b9b6d8dc1009d1e23be8219dbb89ec4a5b9fc4 authored over 2 years ago
97e145add1fd33ddea6e2bf4bfb7276f422404f3 authored over 2 years ago
a8148590dfa9b16cd03ee1fb63c9aa249e2cf9b1 authored over 2 years ago
13e4d65f89823c51989cc1884d0ccee8147a5aa2 authored over 2 years ago
b71caa20a5bfc5be9852e461d35bee96abe2d23d authored over 2 years ago
We don't skip updating source now when fetch is called again and
sources are present locally.
We don't use admin.vm.Shutdown anymore.
6027b0b75721f4773af387217489f4af69069d19 authored over 2 years ago2266cb0a609e31b8d8981f458d0b76d5d72b4b75 authored over 2 years ago
21fd8eee5b4cbe95f7cc16a5cd1ade63cea3b45f authored over 2 years ago
f37d52de923dd847ecd6f100547a72eb624c0bdb authored over 2 years ago
We only upload what's locally built by the builder, not the entire
repository tree.
It is dist independant and should not be duplicated. Keep for
now message saying there is nothin...
9b2299ea912b01185ab2b07834ada9a80b4338be authored over 2 years ago
9af2f884c8e2c3eb38b40860b4635f46175fb18c authored over 2 years ago
be505a721ec2127932fd4373e8235842495516ad authored over 2 years ago
09a601cec194672ab9e9b8d19941dcde1577b8d9 authored over 2 years ago
For now, only components build is supported using
qubesbuilder.TriggerBuild
513348477b459a5ff7597cbee4b022e7e2a25136 authored over 2 years ago
b09c6005068a031854d02f07b6ea782f40538da3 authored over 2 years ago
9da389c6722b47dbb8bdae8f28cf8b348d173521 authored over 2 years ago
e4e9296e7c2d37bfb25fc999a3a6ffebb1eb8466 authored over 2 years ago
4a92bd23f0c6eb48fa1e820e40974abfa677adfe authored over 2 years ago
691e3483fede7a4bc105c01560635f76cba028ae authored over 2 years ago
5029cecb336478739cf827ef13d4f441ef5d2d8b authored over 2 years ago
eb68487c01d047ada66523e41a8df7dffee68655 authored over 2 years ago
We add support to merge fetched sources into existing local
sources previously cloned.
794d82ed859134de731d644e429dbdceef91bc2f authored over 2 years ago
449abe5f937f679ced93042c4b690f92a160b553 authored over 2 years ago
This turns out to reduce its attack surface.
FIXME: should C.UTF-8 be used instead?
3d84a690e000791ad77fb8fe58809931c02b5d0f authored over 2 years ago
In addition to validating that the command is known and does not have
disallowed characters, val...
It specifically checks commands from GitHub comments.
62fca51315632ed682bc8c30dcf652f35e46f78a authored over 2 years agoIt takes a release_name argument that was not mentioned.
905e52e5f02b89741acf9336186a701527684b10 authored over 2 years agoMost people, including myself, have not memorized the ASCII chart.
407610fca59002f481c3ebf6582a8a638d9068cd authored over 2 years ago
If the command does not end with a newline, the subsequent split would
return an iterable of len...
Even post-quantum signatures fit in that.
10c3a890d7045d55a5b43511df3cfabe703a37f5 authored over 2 years agoThe main function was getting long and unwieldy.
f2275c86325ddfbfb6ef4afa2b882c5ea3954f5e authored over 2 years ago
The base64 module is just a wrapper for the built-in functions in the
binascii module.
The latter better reflects what it is.
6e182d26e0cbea47d8442f1cb6d2be8435cf6de7 authored over 2 years ago
It turns out to be both simpler and more correct to do it this way, and
Python's bytes.replace()...
Use a custom exception class to avoid spewing a useless traceback.
d26c7508f9c6053849a524de9929b5182d8ccc59 authored over 2 years ago
This ensures that the rest of the code does not need to deal with
non-ASCII characters.
It turns out that there are other users of this code that are not part
of this repository, and r...
It should be ignored, but the armor parser rejects it. Strip it out in
the webhook.
- Use 'set -eu'
- Check that there is exactly one argument
- Check that the component name is no...
The new parser rejects this. This also ensures that a trailing newline
in the comment is not re...
Commands must be ASCII; enforce this.
cad9c60f19845fe8ad4d169b239291bad720cb41 authored over 2 years ago
TypeError and KeyError should only be thrown when accessing the parsed
JSON.
The only configuration is a list of modules, and there is only one
valid configuration. Hard-co...
'lenlen' is not the correct variable name.
82e292f99bd4d43f378df8e6d17eb78bf8e2168a authored over 2 years ago
-----BEGIN PGP SIGNATURE----- should be followed by a blank line, but
the absence of such a line...
Now that a reconstructed version of the signature is sent to GnuPG,
there is no point in being s...
Those could be an option injection attempt.
02be7c9c60c84e0834b5070da231c1d01f94cdd2 authored over 2 years ago
This avoids an untrusted binary file appearing in the filesystem. The
armored file is safe to v...
The assertion could fail on crafted inputs.
f1bbce02865509ee951a7ba77ea79be2265d6424 authored over 2 years agoThis will be helpful if this test ever fails.
1d190e00bd5e67c506f66568521b446c3f794b3c authored over 2 years ago
This is implied by the requirement that the armored signature have at
least 64 bytes of base64 d...
Also remove some code duplication.
2faaff3ed48725fc729d15272fb5f912912a84db authored over 2 years ago
Check that the signature is v4, that the hash algorithm in the signature
matches the one in the ...
Subscripting a list, int, float, bool, or None with a string will throw
a TypeError. Catch that.
The new qrexec service has a very strict parser. Ensure that all
carriage returns and leading a...
This adds a hardened command parser in Python, replacing the old awk
script. The new parser per...
0029a03140cc9215934fee25a53b11cc22d6308e authored over 2 years ago
84fa6a26e68f00bb752ab5fa888fc77aeb9eafdd authored over 2 years ago
7bfecc348d4cc9b8c4f39464df90921e8143364d authored over 2 years ago
Importing from https://github.com/QubesOS/qubes-builder-github/commits/7ede45ef3dc49de7bf42af614...
5736937310b410828ddae3f5d85cfcfedabe66d3 authored over 2 years ago
We ensure that for source, build, sign and publish we have the
required previous stage artifacts...
eff9d06646d62258fa26114175155c81bd0da1df authored over 2 years ago
6a8f373290893a39cdfd00b4e303c056f35def7c authored over 2 years ago
35bee9887d236103bb753986f2c6dd7da150333f authored over 2 years ago
c0e68678045b2f45e4e14e085fae44ae1d3aa19f authored over 2 years ago
When special keys "distributions", "components", "templates" or
"stages" are prefixed with "+" t...
f9c4fc91173561363f2bd2969add328dbb102cb4 authored almost 3 years ago
85ddc5f41a659447383ff0ba2d50d9873c5ae488 authored almost 3 years ago
We step back on not allowing 'name' in files section in .qubesbuilder.
When a URL has not the go...
074c97cfc46778f3b57cfd184e666d031f1eef3c authored almost 3 years ago