#252 Choose a better TERM environment variable value, or implement cursor movement escape codes 5 days ago

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

Here's an example. sr.ht is setting the TERM=xterm-256color, but not being able to support all of the things that implies:

https://builds.sr.ht/~andrewrk/job/116323

You can see that it's not honoring the escape codes to move the cursor, but it is honoring the escape codes to render color. I believe the TERM environment variable is incorrect; in this case it should either set TERM=dumb, indicating no escape codes are possible, or find or invent some new standard value for this which indicates colors are possible but moving the cursor is not possible.

Another solution would be to implement cursor movement terminal escape codes in builds.sr.ht.

#207 ability for builds to know the name of the associated git branch 8 months ago

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

Perhaps via an environment variable such as $SRHT_GIT_BRANCH.

For example I want to know if this is master branch so that I can update a download page with uploaded binaries. Or if it's a non-master branch I want to create an alias from that branch name to a download link.

Here's how I do this with Azure Dev Pipelines today:

https://github.com/ziglang/zig/blob/9801a1df6a6a55bb98cb4141d7e8f7340f324de2/ci/azure/linux_script#L33

#24 Handle .git postfix on source URLs when doing source replacement 9 months ago

Comment by ~andrewrk on ~sircmpwn/dispatch.sr.ht

The issue is that this is a poor user experience:

  • fill in a valid looking git URL into the sources field
  • enable the pull request dispatch
  • things appear to be working, but find out several weeks later that the pull request -> build dispatch hook is actually building master branch and not pull requests

Must I have a solution in mind for this to be an open todo item?

#24 Handle .git postfix on source URLs when doing source replacement 9 months ago

Comment by ~andrewrk on ~sircmpwn/dispatch.sr.ht

Thanks - that fixed it. I'll leave this issue open with the feature request that if this mistake is made, the CI fails with an error message telling how to fix the yml

#24 Handle .git postfix on source URLs when doing source replacement 9 months ago

Ticket created by ~andrewrk on ~sircmpwn/dispatch.sr.ht

See downstream issue for details: https://github.com/ziglang/zig/issues/1960

#35 Add more base images 9 months ago

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

Zig project is about to have a use case for OpenBSD builds: https://github.com/ziglang/zig/pull/1921

#58 Implement build caches 11 months ago

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

What's the sr.ht way to say I am also interested in this feature ?

#164 feature request: configurable path to build.yml 11 months ago

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

No problem. I couldn't find the bug tracker for dispatch.sr.ht so I put it in the sr.ht tracker.

#151 feature request: configurable path to build.yml 11 months ago

Ticket created by ~andrewrk on ~sircmpwn/sr.ht

Moved from https://todo.sr.ht/~sircmpwn/builds.sr.ht/164

Here's my use case: I have another CI dependency on Azure Pipelines in order to get Windows support. I've put the files in a subdirectory to keep my repo organized. I'd like to put the sr.ht build file in a subdirectory as well, like this:

ci
├── azure
│   ├── linux_script
│   ├── macos_script
│   ├── pipelines.yml
│   ├── update_download_page
│   ├── windows_install
│   ├── windows_script.bat
│   └── windows_upload
└── srht
    └── build.yml

While testing, this would be submitted via dispatch.sr.ht, but potentially in the future would be submitted via git.sr.ht.

#164 feature request: configurable path to build.yml 11 months ago

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

Here's my use case: I have another CI dependency on Azure Pipelines in order to get Windows support. I've put the files in a subdirectory to keep my repo organized. I'd like to put the sr.ht build file in a subdirectory as well, like this:

ci
├── azure
│   ├── linux_script
│   ├── macos_script
│   ├── pipelines.yml
│   ├── update_download_page
│   ├── windows_install
│   ├── windows_script.bat
│   └── windows_upload
└── srht
    └── build.yml