~colemickens

Trackers

~colemickens/nixpkgs-wayland

Last active 2 years ago

#313 feature: api: query jobs by tag 9 months ago

Ticket created by ~colemickens on ~sircmpwn/builds.sr.ht

Currently, builds.sr.ht advertises a build badge which show a "build status" (via SVG) for a given tag. The value is based on the status of the most recent non-cancelled job that contains that tag.

It would be helpful to have a way to query for this same information, directly, via the API.

As a workaround, one can query all of a user's jobs and filter based on its tags:

TOKEN="$(gopass ...)"
BUILD_HOST="https://build.sr.ht"
TAG="nixpkgs-wayland"
curl \
  -H "Authorization:token ${TOKEN}" \
  -H "Content-Type: application/json" -X GET \
  "${BUILD_HOST}/api/jobs" > /tmp/data
jq -r "[.results[] | select(.tags==\"${TAG}\" and .status!=\"running\")][0] | .status" /tmp/data

(note the example spits out just the status field, but otherwise would've returned the full job object)

Also, a note to document something else that tripped me up, the "tags" array that the API accepts is misleading, note that the order matters and forms a "path", as returned by the jobs api: the "tags" field is a string, not array. For example, if you specify tags:["tag1","tag2"] in the POST, you will get tags: "tag1/tag2" in the subsequent GET to query the job status.

#311 feature request: webui: button to cancel queued, not-started builds 9 months ago

on ~sircmpwn/builds.sr.ht

REPORTED RESOLVED DUPLICATE

#311 feature request: webui: button to cancel queued, not-started builds 9 months ago

Comment by ~colemickens on ~sircmpwn/builds.sr.ht

Sorry, this is a dupe of #259 (https://todo.sr.ht/~sircmpwn/builds.sr.ht/259).

#311 feature request: webui: button to cancel queued, not-started builds 9 months ago

Ticket created by ~colemickens on ~sircmpwn/builds.sr.ht

I have queued builds that I'd like to cancel, but I can't cancel them (at least, not from the UI).

#14 Screencopy no longer works 1 year, 3 months ago

Comment by ~colemickens on ~scoopta/wlrobs

I'm testing with https://github.com/obsproject/obs-studio/pull/2484 but I was also able to reproduce with xcb-obs and the plugin with screencopy, which I also know worked a few weeks ago.

Thanks!

#14 Screencopy no longer works 1 year, 3 months ago

Ticket created by ~colemickens on ~scoopta/wlrobs

It seems like maybe there were some changes in wlroots related to screencopy.

I had to delete my OBS config and recreate with a DMAbuf screen capture to get anything working. Adding a screencopy capture to the scene breaks OBS and requires again deleting the config.

#100 typing 'riot' matches 'Fractal' above 'Riot' 1 year, 4 months ago

Comment by ~colemickens on ~scoopta/wofi

I would argue that "riot" is still closer to "Riot", but passing --insensitive does also "fix" it. Thanks.

#101 selecting the second entry requires TWO down-key presses 1 year, 4 months ago

Ticket created by ~colemickens on ~scoopta/wofi

While encountering wofi#100, I noticed that selecting the second entry requires pressing down twice.

This is fairly surprising since the first entry is already highlighted for me. I would expect the first down press to move to the second entry.

#100 typing 'riot' matches 'Fractal' above 'Riot' 1 year, 4 months ago

Ticket created by ~colemickens on ~scoopta/wofi

See screenshot: https://i.imgur.com/El6n18H.png

My expectation was that Riot would match above Fractal. I'm not even sure why Fractal matches at all (maybe fractal.desktop mentions riot?)

#38 Can't build without hg 1 year, 8 months ago

Comment by ~colemickens on ~scoopta/wofi