Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/QubesOS/qubes-builder-github

Qubes builder plugin for github-issues notification
https://github.com/QubesOS/qubes-builder-github

Typo fix

a48840cb18aa0c423697220861bc44f7a27d7454 authored over 1 year ago by Marek Marczykowski-Górecki <[email protected]>
Hard-code user home directory less

Also improve documentation.

6b545067c3d040503f077d1cd95160cf2bed0488 authored over 1 year ago by Demi Marie Obenour <[email protected]>
Add verification if webhook data really come from github/gitlab

This adds extra layer on top of allowing just github/gitlab IP

2e55cc5d21762a70aa2c9bd66938736505be8bc5 authored over 2 years ago by Marek Marczykowski-Górecki <[email protected]>
updates-upload-repo: make use of --days argument, lower default to 5

7ede45ef3dc49de7bf42af6142a34959b3f04c05 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Make comments a bit less confusing

Extracting a package name for multi-package components is very
unreliable (it lists just one pac...

e2c5cfcfb65e88aa0d76e292fb3e108af2727e22 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Add CentOS Stream support

It's no longer plain CentOS internally.

f32ab7479842882be417bfa7554f34da8d4aeb5c authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Use consistent shebang for python3 scripts

Use /usr/bin/python3, as this is the canonical path.

9d49a52e1d9b654d40b13c90002d71f029e55c80 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
webhooks: add gitlab webhooks support

6ea6ddcaa54b9de67b2db17b90aa172cfe02b975 authored almost 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
Add support for PR services

483efd6cc93f3ec4a669c3cf77c3f897cc084472 authored almost 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
notify-issues: don't fail on unicode characters in issues

b44091912f138658de1195448dd3a18364d9bc47 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
notify-issues: don't fail on unicode characters in issues

5e800f468a97c58547a4a31f0ca789413c7513df authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
utils: consider '+' in dist name too

It is in template flavors

e97cfdd5b2b330f820b705e4dbf77be742268a50 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Add utilities to manage update-status issues

The code is ugly but it works.

19bfebaec59d32d43b0d82fd6506fd740fe650dc authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
webhooks fixups

532ca45ee2ddd2203e90b8dfc534bf68a5989054 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Add archlinux status reporting

f44a19c34f75724aae624f73ea889a3afd654503 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/14'

* origin/pr/14:
Submit metadata creation log before signing
Fix Debian repo signing

Fixes Q...

7c9424299078fd2cff99c3271190aa708c69a275 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Submit metadata creation log before signing

The keys VM refuses to sign anything unless a build log has been
submitted first. Therefore, we...

c9c3a8f1661674b250822ce92910a2441a068c32 authored about 4 years ago by Demi Marie Obenour <[email protected]>
Fix Debian repo signing

We can run the build twice

3020b36d376bd54cef4c3c9d23b3e8a85e8a7963 authored about 4 years ago by Demi Marie Obenour <[email protected]>
Update which version triggers a notification for given distribution

For Fedora - post it for Fedora 32 package
For CentOS - CentOS 8
for Debian - Debian buster (10)

8f3f591c814a4a726f11a27fa7f40849edc6ad44 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Refactor webhooks as WSGI server + Flask app

245579fee8760a97c96c7dabcd4fe465f5399dc0 authored about 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
Use generic component name as package name for "other" distributions

This applies to Archlinux. It shouldn't matter that much, as there are
no comments in qubes-issu...

c129fe2c2ad86d63f086111e4502c232661dc07a authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Add archlinux to supported distributions

There shouldn't be anything special needed, hopefully.

fddc6a9fb1c179818f950c4e2d5d4fed55d97ada authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
notify-issues: some more python3 changes

ffe774406b0b98103f0d378acf0b685e59a94f62 authored almost 5 years ago by Marek Marczykowski-Górecki <[email protected]>
notify-issues: include log since previous stable version

When creating new issue in updates-status, include changes since
previous stable version, not pr...

f6385e3590391cfe008c7d1b735e8af1146abc17 authored almost 5 years ago by Marek Marczykowski-Górecki <[email protected]>
Convert notify-issues to python3

QubesOS/qubes-issues#5297

b1eb5a9b9ad62aba404c0c4b20c69478df0dd1e3 authored almost 5 years ago by Marek Marczykowski-Górecki <[email protected]>
trigger-build: allow any org for qubes repo prefix

e5b8afac4db4c78c9ffcc3bab2ac25a7a4a2f0c9 authored over 5 years ago by Frédéric Pierret (fepitre) <[email protected]>
Do not wait for trigger-build service to finish

Call the service and forget (unless some actual data needs to be sent).
This way, the caller (gi...

80d4a0c4b6588d7d49e3241124b158b8d926f799 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
Add a light border to the package status page

89ce5704ff42dc2e59589eb826ebc2ff4b06267a authored almost 6 years ago by AJ Jordan <[email protected]>
Use a sans-serif font for the package status page

a7ee48ae00aa10ecf4855bacbe08a3f5e3b98d55 authored almost 6 years ago by AJ Jordan <[email protected]>
Use hostname command, not $HOSTNAME

Shellcheck says, $HOSTNAME isn't POSIX compliant.

33935a658a42a474b800a951092bd74677274ea5 authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
online release status: avoid filename conflicts

Include VM name in status file name, to not override files from
different VMs.

b3505e3f0ccb6647cb7f3ff3a3823a674847840a authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add scripts for uploading packages release status

9cb27f89df6d0e34c8e187845bf6bb0abe8f5f28 authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Move message templates into 'templates' directory

Clean up top level directory.

a7ceef1840e6e044d61aa90d5819de4425d1dfd2 authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix CentOS message

QubesOS/qubes-issues#4528

ea61177bb31734b86ffe3758a9cddc75fd252eab authored about 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix handling repositories with just one commit

9141dde90c205fd1ce02c326f7734af2aef0d2bd authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix upload command

Use 'export DIST_DOM0=' for excluding dom0 from the upload, instead of
embedding variable name i...

7ccce3ee524ebd9c5310fdd59424ff4261ee3e28 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Notify also about community templates

QubesOS/qubes-issues#3935

fe293970bf9bec5772cc10da0e61f264357cbde1 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Prefer primary key ID (if gpg2 reports one) for access control

QubesOS/qubes-issues#3935

04f6db2e5758b453cc1b2b69c4c86e34f3898d00 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix notify-issues script

82923a8fa4b354457a547f0719ed08fc9b3c05a8 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add template build start notification

Create initial issue in updates-status at the build start, not at the
end. Since template build ...

1a9f1a320c83a9cac591f6ea2040f7a5e13bfae2 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add simple access control for gpg-signed commands

Use `ALLOWED_DISTS_fingerprint` option in builder.conf with a list of
allowed distributions for ...

90a5277f962e9606cc1ad10425c3d094699af950 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add templates handling to notify-issues and Upload command

Templates are slightly different than normal packages, because are not
built from a single repos...

9054873a91a4981f132d38f15c3c357a4e09a72e authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add support for Build-template command

Add a command to start a template build. See README.md for
details.

QubesOS/qubes-issues#3935

9c9937b05999aec12ab9fd6a9ce6890d7b0c4e35 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
travis: initial version - call shellcheck

db207a5d06bcc61a8985da55e3c0f5c85cc2096b authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Make ShellCheck happy

619bf5fe1aba76ea7f495999aaf964664feaa950 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix handling single repository upload command

Fix getting list of supported distributions - do not include 'Entering
...' log lines there. Wit...

0eff7567444c903b4d601f3997ca5d9977353da1 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Restructure qubesbuilder.ProcessGithubCommand handler

Split it into multiple files to easier add new commands, while keeping
the main script (handling...

33dbfd5babeb1d80b6c57c8574eda8215ea67393 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Restructure notify-issues to easier add templates support

Split get_package_changes out of notify_build_report. The former will
not apply to templates.

Q...

f539a399ba7cfb217f1b9606bc6b7404cd63af85 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Get repository type and release name from variables provided by qubes-builder

New RELEASE variable provided as part of QubesOS/qubes-issues#3935,
TARGET_REPO was already ther...

32da990b6d07a780578db2cffb3aa8cc5eeb8c70 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix detecting whether dom0 repository needs to be updated

The code for stripping spaces was buggy, leading to updating dom0
repository even if no package ...

549ff95e8f6e3970cade050832974d923468cbe6 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Suppress comments about buster builds

Keep one comment per distribution - for Debian let it be stretch.

QubesOS/qubes-issues#2494

6fa1d5c31c24281f61bd1506b64313075aaf3f8d authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Have only one comment per distribution (Fedora, Debian)

Make the comment generic (do not include distribution version) and have
only one per distributio...

6537a32f1965bd1e59a9469e61a8d0f6860f89d0 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Put component name in addition to package name to Fedora notifications

The package name alone is misleading for multi-package components - it
is the first package (lex...

65bca70d1048f5554d8c60de48a062a7dedec6a6 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
One more fix for qubesbuilder.TriggerBuild

Hide 'Entering directory' make message.

56e05dc3117b1567776536e66e3eab9ca091a194 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Use correct components separator in qubesbuilder.TriggerBuild

IFS was set to "=" for the outer loop, change it back to default value
for the inner one.

e2f4b181efa0d19fa99a63a51f00b7e5f1b07805 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Support building building components with different repository name

Look for qubesbuilder.TriggerBuild argument in both COMPONENTS setting
directly and their reposi...

b78f85e40887290f63618b17ccd38ee1d8f339e0 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Use COMPONENTS setting in builder.conf to validate component to build

Do not trigger build for component that just exists in qubes-src
directory, allow removing (or c...

edaad02e73e7ec95bfa59bac38aa8e6eefad6a67 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix message templates file names

This fixes "85c5c56 Use more descriptive labels and repository references"

71c776bb8847ec3b5998b49771f800d749e595ee authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Don't fail if no comment is added to related issues

Allow not creating comments for specific target distribution. This will
allow reducing noice in ...

aea777572bf6c0daf1f155aa7251ddabd5363388 authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Use more descriptive labels and repository references

Use "cur-test" instead of "testing" in labels, and use full
"current-testing" name in messages. ...

85c5c560ff1336da925a888a91f6dc18367eac1b authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
One more place to add CentOS to...

0ca32af89fae2e5c03b9bc6954a11daf708db2b1 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Add centos to supported distributions

b51efb41f49f35e558ad569f39efb7f705456dfc authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Add messages for CentOS packages

d7c69c5a87431031dd287cae977537b66fee75ea authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Add messages for fc26 and buster

1e9e1012e7aaead6d02273f2fe4fd1d8c864ae5e authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Make sure that found issue is really what we've searched for

If there is no exact match, github will return "close enough" issue.

See QubesOS/updates-status#57

172bece7050cb7e00b5c69d6210cdc544e15ff1d authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Don't fail on repository with only one version tag

Assume (some) root commit a previous "version tag" and show history from
there.

8ab02e251a8d8b7dd4702a708a7a2a7d190d3d8b authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix GIT_URL substitution in one more place

Reported by @ij1
Fixes QubesOS/qubes-issues#2790

cc7e2f94f87364aaa22a170639f0fbb90d860a9a authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Use content of GIT_URL_... variable, not it's name in notification msg

6d00c0431a84f9c15c5092f59702f17a9b603262 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix multiple builders instances

Don't reset 'components' variable, and also upload really only to
selected release.

d2b455d0d306ea34adf05dc44756501d927f43f8 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Support multiple builder instances for the same release

It makes sense to have separate builder instances for dom0 and VM
packages, even when they are r...

4abca2999f736ef1935e422f048a302a67fc7844 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
webhooks: fix handling end of command in comment processing

'repo' at the end wasn't properly detected.

cd030922923f21509ebfe1fdb4b6ba23dcd875fd authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
webhook: Convert CR/LR into LF in incoming comments to handle

Github sends two-bytes line endings, but awk don't match '$' against it.

5b56354812ecc3cf488fd176b7dd73da82d0dd0f authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Use qrexec service argument for component name

This leverages qrexec implementation for initial sanitization (don't
allow non-ASCII chars, '/',...

8090189e59dc84ab49016f3fc4e87052979746e4 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Make issues list actual reference to them

27b4509e96c9c2c171d644a0aaaabcf7d6c930ed authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Always create build/upload report issue

Not only when build log is available. Even when package wasn't just
built, having tracking issue...

90598ca84ab52b04a55d33e24c16fdb8ba5c018e authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Improve build/upload report issue

Include full git log there, and reference all related issues - which
will automatically link thi...

c4a4fb8cab485f86fb25a26f7a77caaabbe2ea15 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix searching for existing issues

551852b2bd49f9506f01a76e463fa91e39c1fd77 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
github-webhooks: use just component name, not full repository name

qubesbuilder.TriggerBuild do not allow '/' in input argument. Better
strip repository owner name...

5138ee308d45dc7b1b3e31aac9708268f7fded19 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Make github webooks importable scripts.

Wrap actual code under "if __name__ == '__main__'". Also fix print
syntax.
This allows having on...

f79aefd3eace1c72e138695ade994e4eb2ce4b63 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Make sure repository control command really ends with 'repo'

Verify also this part of command specification.

QubesOS/qubes-issues#2573

8a819049b438c447eceddb7abffe04bd6623b2bf authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Move target repository sanity check earlier

Have it besides other context-less checks.

Suggested by @woju
QubesOS/qubes-issues#2573

7214d15caa2e710782825f5ff140b83e66b17673 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Do not use 'echo' to strip white characters

Shell command 'echo' may consume some parameters, for example '-e' or
'-n'. While it shouldn't h...

2a7b336639127fb152f1e8d5b1fb2a7b5f793f2c authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Reject any field separator in component name, not only space

In theory white characters will be rejected anyway a moment later -
while checking for directory...

41d96aab35ed6d5964bbb41a979fd7dfb45fb6d4 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Use single quotes around awk script

This will avoid confusion about handling '$' and other shell special
characters. Pass needed var...

e252ce8adafab24462df8ea5de0f4c2ee693e8d1 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Unify usage of '~' and '$HOME'

Suggested by @woju
QubesOS/qubes-issues#2573

aa65bbea7c2f89a485f149d96cf580f927dbb5f9 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Add missing documentation about 'security-testing' repo handling

Suggested by @woju
QubesOS/qubes-issues#2573

63ff5d2297de58677ecf84ee9a8a70b5e2d9e0b5 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Integrate build and updates uploading with github

1. Trigger build process when appropriately signed version tag is
pushed.
2. Trigger moving pack...

3a38923a665c8f495d4572447332d74dba571c25 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Send notifications to dedicated repository also about 'security-testing'

Comments in affected issues are only about 'stable' and 'testing'
uploads (which makes sense). B...

c21ad2da0454a6dd8f0b96ff8405dbca16c1a6d7 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Make use of GIT_URL_$COMPONENT variable if present

QubesOS/qubes-issues#1818

f763ebe52d47262ec3d9b6ca733decf51571f71f authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Split notify-issues into functions cont.

No functional change.

QubesOS/qubes-issues#2573

e1515853f928fb1d4ff9e9923bbee2b67622d7b3 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Create issue in dedicated repository for all uploaded packages

QubesOS/qubes-issues#2573

85bca200ea86d2d85d001f072d6a223a2e2d510a authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Split notify-issues into functions

No functional change.

QubesOS/qubes-issues#2573

d29dcbb5681d83b19f3e88ca6679f9a7945ef2f5 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Add Fedora 25 message symlink

QubesOS/qubes-issues#2455

cde12ad722ad675cc19268cf542993ab2f2b9c56 authored about 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Symlink messages for Debian stretch

7c627fb56c1cefea9c6f5b8a987cd3448e7d7029 authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Add symlinks for current and some future Fedora releases

45c42563329150855ae5a207ef76bea6f552653f authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Actually add github log URL to the messages

100a5389edcd6396bb7966b038507780fee6fbce authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Add support git log in notify messages.

dfdf26b2019aa7e81118798af55ddb32c0424fc7 authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
debian: fix getting package version

$(release_name_dist) is set only on devel builds (when
INCREMENT_DEVEL_VERSIONS=1), so fallback ...

436aecbce28b8e0afcdb4ffa3c630d35dff7816f authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Improve handling dom0 updates

Treat it as a separate label and keep separate state for it. In most
cases it will change nothin...

c18c86bc1dcdea602a1e8d2d06b0a9b4f4d2fc53 authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Handle also stable repository

Stable (aka 'current') repository is handled somehow different because
some additional safeguard...

d5cab03d528f1f0ea10aad3ab6da0de611aa095c authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>