Skip to content
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

Add org.sugarlabs.BaseApp #1338

Closed
wants to merge 1 commit into from
Closed

Conversation

tchx84
Copy link

@tchx84 tchx84 commented Jan 17, 2020

NOTICE: This is still work on progress.

@tchx84
Copy link
Author

tchx84 commented Jan 17, 2020

bot, build org.sugarlabs.BaseApp

@flathubbot
Copy link

Queued test build for org.sugarlabs.BaseApp.

@flathubbot
Copy link

Started test build 14017

@bilelmoussaoui
Copy link
Member

You need a flathub.json with skip-appstream-check set to true like https://github.com/flathub/io.elementary.BaseApp/blob/branch/juno-19.08/flathub.json.

@tchx84
Copy link
Author

tchx84 commented Jan 17, 2020

A few questions for reviewers:

  1. All of these apps will use "command": "sugarapp" to run, but it seems I still have to specify it per app. Is there another way to achieve / workaround it?

  2. Similar to the above question, but for "finish-args".

@flathubbot
Copy link

Build 14017 failed

@tchx84
Copy link
Author

tchx84 commented Jan 17, 2020

You need a flathub.json with skip-appstream-check set to true like https://github.com/flathub/io.elementary.BaseApp/blob/branch/juno-19.08/flathub.json.

Thanks!

@tchx84
Copy link
Author

tchx84 commented Jan 17, 2020

bot, build org.sugarlabs.BaseApp

@flathubbot
Copy link

Queued test build for org.sugarlabs.BaseApp.

@flathubbot
Copy link

Started test build 14018

@bilelmoussaoui
Copy link
Member

A few questions for reviewers:

1. All of these apps will use `"command": "sugarapp"` to run, but it seems I still have to specify it per app. Is there another way to achieve / workaround it?

2. Similar to the above question, but for `"finish-args"`.

I think it's better to keep those at the application level

@flathubbot
Copy link

Build 14018 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/13374/org.sugarlabs.BaseApp.flatpakref

@tchx84
Copy link
Author

tchx84 commented Jan 19, 2020

I am still deciding whether to use a separate branch (E.g. "0.116" following the sugar release it's based on) or just leave it "stable"... on one hand, I really don't want to overpopulate with many BaseApp versions that will get dropped fast, on the other hand I think making updates too rigid could have risks, but considering current Sugar development state, it's extremely unlikely that future releases will break compatibility at this point.

So, I am leaning towards just having one "stable" branch.

@TingPing @nedrichards @barthalion @bilelmoussaoui any suggestions?

@nedrichards
Copy link
Member

this is honestly my biggest concern around using baseapps for this kind of workflow. Pragmatically I think it's OK to track a 'stable' but overall I don't like the loss of declarativeness on the app by app level, and it will need co-ordination across all users if it changes.

@tchx84
Copy link
Author

tchx84 commented Jan 22, 2020

this is honestly my biggest concern around using baseapps for this kind of workflow. Pragmatically I think it's OK to track a 'stable' but overall I don't like the loss of declarativeness on the app by app level, and it will need co-ordination across all users if it changes.

I see that too.

Also, I realized that the runtime needs to be defined both in the BaseApp and in every app using that BaseApp. So, I am not exactly sure how the workflow would work if I only have one stable branch. There will be a delay between bumping the runtime version in the BaseApp and then in every app. So. I am not completely sure if having (even if only temporarily) different runtime versions (BaseApp vs app) could cause unexpected/unforeseen issues.

@tchx84
Copy link
Author

tchx84 commented Apr 18, 2020

bot, build org.sugarlabs.BaseApp

@flathubbot
Copy link

Queued test build for org.sugarlabs.BaseApp.

@flathubbot
Copy link

Started test build 18553

@flathubbot
Copy link

Build 18553 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/17788/org.sugarlabs.BaseApp.flatpakref

@tchx84
Copy link
Author

tchx84 commented Apr 19, 2020

@bilelmoussaoui how can I get this merged without triggering a build and publish job? I need to mimic what Elementary does of just having a "20.04" branch, and not really a "stable" one.

Mind explaining how these branches are managed in Flathub infra?

@bilelmoussaoui
Copy link
Member

bilelmoussaoui commented Apr 19, 2020

@bilelmoussaoui how can I get this merged without triggering a build and publish job? I need to mimic what Elementary does of just having a "20.04" branch, and not really a "stable" one.

Mind explaining how these branches are managed in Flathub infra?

We can since #1256 (comment) create a repository and default to an other branch than master . The master branch is what used for stable releases

@bilelmoussaoui
Copy link
Member

It looks good to me, let us know and we can merge it to branch/20.04

@tchx84
Copy link
Author

tchx84 commented Apr 19, 2020

@bilelmoussaoui great, please do merge.

@bilelmoussaoui
Copy link
Member

/merge:branch/20.04

@flathubbot
Copy link

A repository for this has been created: https://github.com/flathub/org.sugarlabs.BaseApp

You will receive an invitation to be a collaborator which will grant you write access to the repository above. The invite can be also viewed here.

If you have never maintained an application before, common questions are answered in the app maintenance guide.

Thanks!

@flathubbot flathubbot closed this Apr 19, 2020
@barthalion
Copy link
Member

(For the record, merge:20.04, without branch/ prefix.)

@bilelmoussaoui
Copy link
Member

(For the record, merge:20.04, without branch/ prefix.)

We don't need branch/ prefix anymore?

@barthalion
Copy link
Member

Yeah, the code adds branch/ to anything that isn't beta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants