-
Notifications
You must be signed in to change notification settings - Fork 11
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
Variants and strict confinement #56
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your interest! Welcome to this snapcrafters project! I would love for you to help us out with this. There are a few issues though:
- IDEs should use classic confinement, so they can access source files, compilers etc from wherever on the host system.
- The discussion on this PR explains how to go about creating multiple flavours: Create variants for Java and CDT #10
Work on that has stalled, but we're still interested in doing this. If you want to contribute, the best approach would be to create a PR that adds different snapcraft.yaml
files for the different flavours in different subfolders in this repo. When that is done, I can take a look at setting up the automation to deploy it to different tracks in the store.
If you want to update the snap to core22, feel free to do so. But best to do this in a separate pull request from the one where you work on the support for multiple eclipse flavours.
If you have any questions, feel free to ask them here or contact me personally on Telegram @mesebrec
. If you're interested in diving into this, I can add you to the Snapcrafters telegram channel where you can ask us questions and see what we're working on!
I've been checking the snaps of the few IDEs i know, and indeed all are classic-confined. Not sure, if we gonna see the shift towards secure software development lifecycle one day. Myself having been attacked once on the IDE, you might remember the eclipse decompiler plugin attack in 2017, i have a biased view on that. For the time being i would revert to classic confinement as that PR reaches maturity. There is a proposal for building any eclipse package you like, which is strongly based on yq-processing. If that has your liking i would pursue and embed this in .travis.yml. What i couldn't yet figure out, is where to find the controls for uploading to the corresponding channels. Somewhere along the snap-building there should be an env-variable leading the way i guess. Looking forward to share further thoughts with you soon. |
I also want to add that we don't use travis anymore. All CI is now done using GitHub actions and the snapcraft.io build farm. |
I ship latest commit with There is an implication along Took ages to figure out why any outgoing call from eclipse to the jre was blocked (error 13 permission denied), you see the resulting chmod, according to Moving over to There are some minor concerns about sharing @merlijn-sebrechts about git actions, i hope you get the required pointers from |
extensive collection of add-on tools available for software developers. | ||
|
||
grade: stable | ||
confinement: strict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, we can't create IDEs that have strict confinement.
Since IDE's need to access files anywhere on the system, and integrate with build tools installed on the host system, they should only run in classic confinement. Although compiling simple examples should work, more thorough examples will cause issues.
This means you won't be able to use the gnome
extension, unfortunately.
Hi, i am rather new to snaps - though long time dev biz.
In fact i wanted to install eclipse-pde. I wonder how snap/tracks could be used to have a few more eclipse-flavours available.