~samwhited

Austin, TX

https://blog.samwhited.com

Trackers

~samwhited/soquee

Last active a month ago

~samwhited/co-op

Last active 6 months ago

~samwhited/newsprint

Last active 6 months ago

~samwhited/terraform-provider-sourcehut

Last active 7 months ago

#40 Add touches of JavaScript 2 months ago

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

You've likely thought of this, but I wonder if you could have each build step load an iframe with the output, then the iframes could refresh instead of the whole page. This may be bad since it means more requests to your server, but it would mean you could keep the iframe expanded or collapsed and you wouldn't need javascript to collapse each step after reloading.

#156 Implement build access controls 4 months ago

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

Just to raise the urgency of this issue, I wanted to comment that I accidentally just found several bits of output in another users build that were probably meant to be private. I've reached out to that user and let them know that builds are public so hopefully they'll figure out another way to do their build that doesn't leak sensitive info.

On a more selfish note, I also want to move several builds that I have over to builds.sr.ht, but they require running Terraform and outputting private internal network and infrastructure details that I don't want others to be able to see. These can't be secrets because they're generated at runtime and the whole point of the build would be to show them to me so that I can decide if I want to deploy the artifacts from that specific build or not.

#212 Git pushes failing to trigger builds on some repos 4 months ago

Comment by ~samwhited on ~sircmpwn/git.sr.ht

What is the edge case? That error made no sense to me. Since I was using SSH I wouldn't have even considered that I needed to go to the web UI which migiht not even be logged in on this machine and log out and in there. SSH telling me to log out felt meaningless and I wasn't sure what it meant.

#212 Git pushes failing to trigger builds on some repos 4 months ago

Comment by ~samwhited on ~sircmpwn/git.sr.ht

I did, but please consider taking this up as a UX issue. It still makes no sense to me that I had to do that and I would not have come to that conclusion on my own by reading that error message. Having to do that was not a great user experience. Thanks for your help.

#212 Git pushes failing to trigger builds on some repos 4 months ago

Comment by ~samwhited on ~sircmpwn/git.sr.ht

Why would I have to authorize it? It's the same account and I have a valid SSH key.

Sounds like this isn't a technical issue like I thought, but I consider it a UX issue.

#212 Git pushes failing to trigger builds on some repos 4 months ago

Comment by ~samwhited on ~sircmpwn/git.sr.ht

Wait, that actually is an error for me? I'm authed by SSH and really don't want to log out or in on every machine that I have an SSH key on. What is this actually doing? I think it was working on some other repos too, so I'm really confused now.

#212 Git pushes failing to trigger builds on some repos 4 months ago

Ticket created by ~samwhited on ~sircmpwn/git.sr.ht

On some repos I'm getting the error message remote: Warning: log out and back in on the website to enable builds integration in the SSH output during a push and no build is started on builds.sr.ht. I assume this is an error for administrators running their own version of sr.ht because I am using SSH and have nothing to log out of or into.

#19 Pre blocks in markdown do not include spaces in front of the first line 6 months ago

Ticket created by ~samwhited on ~sircmpwn/paste.sr.ht

Consider the following paste:

https://paste.sr.ht/%7Esamwhited/d1d2b6a0a62211495575f6e39c18f83c87c74528

Both the first and second line in the pre-formatted text block have spaces before them, but only the second line's spaces are shown. This means you can't actually display all pre-formatted text correctly.

#86 Several lists endpoints returning 404 7 months ago

Comment by ~samwhited on ~sircmpwn/lists.sr.ht

Same for the GET /api/user/emails endpoint documented here.

#86 Several lists endpoints returning 404 7 months ago

Comment by ~samwhited on ~sircmpwn/lists.sr.ht

The same appears to be true for the /api/:username endpoint as documented here.