chaotic-aur / toolbox

Unified kit with all the scripts required for maintaining the repository 🧰
https://aur.chaotic.cx
GNU Affero General Public License v3.0
81 stars 11 forks source link

Allow to bypass applying interfere #88

Closed xiota closed 11 months ago

xiota commented 11 months ago

Skip applying interfere if interfere.bypass is detected in the package directory. To build without interfere:

chaotic get package
touch package/interfere.bypass
chaotic mkd package

This is useful for testing whether an interfere is still needed or should be dropped. See https://github.com/chaotic-aur/packages/issues/2406

Note: Not tested because don't know how to test without committing.

Related #80

dr460nf1r3 commented 11 months ago

Gotta test this at given time, I like the idea. Should allow for much better interfere testing since changes can be tested without pushing to the repo.

xiota commented 11 months ago

Brought to my attention that interfere can be bypassed with mv package package_. Potential advantage/disadvantage is this produces a new log, package_.log. This PR can be closed if mv would be considered sufficient or preferred.