-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Effects of sed commands should be moved to patches for easier updating #28
Comments
I'm confused, aren't the files you're sedding the exact same ones that we are? |
I am the person who submitted the issue and the pull request to sed over the files. Just to clarify, the sed commands were taken directly from this repository, as stated in the pull request. To clarify further, the Nix implementation was applying all the patches from zabbly repository, but was not running the sed commands you can see in the builds.yml file linked above by @stgraber which caused broken functionality in the Nix implementation. My fix was to add those sed commands. Is what @mkg20001 refers to, is that the changes made with the sed commands, should be implemented in patch files instead, or something like that? |
The idea was to move the sed commands to the patch files. I didn't know they were from here, but also having them in patch files makes things better for us (package people), since those commands in the github workflow slipped under my radar. One idea would be to just have a script that generates an additional patch file that's put into git. |
Yes |
Ah right, so no, we'd rather stick to sed as 99% of the time, the same patterns will work on newer versions of the UI. Whereas patches basically need manual refreshing every time a new version comes out as simple things like indentation changes will break them. |
How about putting the commands into a script, that the github workflow and
our packaging can call (preferrably one using set -e)? In case something
would need to be changed, since that is easier than analyzing the diff each
time.
Stéphane Graber ***@***.***> schrieb am Sa., 9. März 2024,
19:12:
… Ah right, so no, we'd rather stick to sed as 99% of the time, the same
patterns will work on newer versions of the UI.
Whereas patches basically need manual refreshing every time a new version
comes out as simple things like indentation changes will break them.
—
Reply to this email directly, view it on GitHub
<#28 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AO2MCVTKWSHX3NRYOQ7TYXNGKBAVCNFSM6AAAAABEOITU2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWHEZTOOJUGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yeah, we can move those into a separate sed script. |
Closes #28 Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
We've had issues in nixos with iso uploads: NixOS/nixpkgs#294376
The solution was to sed over the files: https://github.com/NixOS/nixpkgs/pull/294497/files
This was because we missed some sed commands.
The text was updated successfully, but these errors were encountered: