2
4
Fork
You've already forked Subcode
1

Add detection if user is using builder installed from flatpak (org.flatpak.Builder) #3

Closed
fluoriteByte wants to merge 17 commits from fluoriteByte/Subcode:main into main
pull from: fluoriteByte/Subcode:main
merge into: aylamz:main
aylamz:main
Contributor
Copy link

using a bit of checking (削除) and alias expansions (削除ここまで), this should help with users who use the flatpak version of flatpak-builder (me)

using a bit of checking ~~and alias expansions~~, this should help with users who use the flatpak version of flatpak-builder (me)
Author
Contributor
Copy link

this has been tested on my machine :3c

this has been tested on my machine :3c

(this is out of scope for this pr i think but): i wonder if it would be better to combine these two scripts as well and have a --release flag so building a release build would be build-aux/flatpak.sh --release instead of build-aux/release-flatpak.sh. the reason why they are separate in the first place is that i don't know bash scripting that well so it seemed easier to have two scripts for this instead of trying to combine them

(this is out of scope for this pr i think but): i wonder if it would be better to combine these two scripts as well and have a `--release` flag so building a release build would be `build-aux/flatpak.sh --release` instead of `build-aux/release-flatpak.sh`. the reason why they are separate in the first place is that i don't know bash scripting that well so it seemed easier to have two scripts for this instead of trying to combine them
Author
Contributor
Copy link

oh i can help with that
the simplest way is to have a default RELEASEMODE var that equals the filename of the dev json, and then detect --release and change it with the release json
i could cook that up after you merge this in :3c

oh i can help with that the simplest way is to have a default RELEASEMODE var that equals the filename of the dev json, and then detect --release and change it with the release json i could cook that up after you merge this in :3c
Author
Contributor
Copy link

also json*

also json*

hm, i think it would be better to have just the flatpak version of flatpak-builder, instead of also supporting the distro package. i don't really see much point in that as flatpak needs to be installed to build Subcode anyways so might as well also install flatpak-builder as flatpak and use that. i don't know why i used the distro package in the first place to be honest..

hm, i think it would be better to have just the flatpak version of flatpak-builder, instead of also supporting the distro package. i don't really see much point in that as flatpak needs to be installed to build Subcode anyways so might as well also install flatpak-builder as flatpak and use that. i don't know why i used the distro package in the first place to be honest..
Author
Contributor
Copy link

me too, also works better cus bugs that distro versions have aren't present in the flatpak (looking at you, ubuntu)

me too, also works better cus bugs that distro versions have aren't present in the flatpak (looking at you, ubuntu)
Author
Contributor
Copy link

maybe i could close this and just work on a refactor of the script?

maybe i could close this and just work on a refactor of the script?

yeah, sure!

yeah, sure!
Author
Contributor
Copy link

okay, closing it and starting work on the refactor!

okay, closing it and starting work on the refactor!

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
No labels
bug
feature
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aylamz/Subcode!3
Reference in a new issue
aylamz/Subcode
No description provided.
Delete branch "fluoriteByte/Subcode:main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?