[ 
https://issues.apache.org/jira/browse/NETBEANS-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367610#comment-16367610
 ] 

Laszlo Kishalmi commented on NETBEANS-341:
------------------------------------------

>From Daniel Llewellyn:



If NetBeans want to use the build service at build.snapcraft.io then someone 
with access to commit to the repository needs to login with their github 
credentials at the build service and add the repo. Once that is done they are 
able to select to register the name in the store by further logging-into a 
launchpad account and then entering the name. They will need to file a claim on 
the name as it is, which you pointed out, reserved; they just need to explain 
that they’re acting on behalf of the project and are therefore the legitimate 
owner of the name. Once that’s done the build service will kick in and build 
the master branch whenever a commit is made.

If they wish to use their own CI system then the steps are a bit different. In 
this case they need to login with a launchpad account at dashboard.snapcraft.io 
and register the netbeans name there. Again they will be prompted to file a 
claim on the name because it’s reserved, which can be answered the same way as 
above. Once they’ve registered the snap they will need to configure their CI 
system to build a .snap file and upload to the store on their own schedules. 
This method allows much more control, but comes at the expense of requiring 
more configuration. I don’t know the relevant details to configure a CI system 
to allow uploading to the store, but I believe you need to save an 
authorization token and use snapcraft CLI to upload.

> Provide Snap Packages for NetBeans
> ----------------------------------
>
>                 Key: NETBEANS-341
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-341
>             Project: NetBeans
>          Issue Type: Wish
>          Components: platform - Launchers&CLI
>    Affects Versions: 9.0
>            Reporter: Laszlo Kishalmi
>            Priority: Major
>              Labels: CI, build, pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> The aim of this wish is to make NetBeans IDE available using Snap packaging 
> system making it available on almost all Linux distributions.
> While the invention of Snap package management is a bit controversial among 
> Linux users, it is definitely gaining momentum as some major brands started 
> to deliver their products as Snap packages. Like Spotify and IntelliJ as well.
> Snap store can provide different distribution channels for different state of 
> the products, like alpha, beta and stable (additional channels can be 
> requested as well). Snapcraft.io service provides an automatic build and 
> release functionality for free. Also the snap client can update the installed 
> software daily. Having this functionality can enable some users to live on 
> the edge if they want.
> I've started some experiments which can help make it happen.
>  # This snap code needs to be integrated into the main NetBeans repository.
> Check tle linked PR#404
>  # Snapcraft.io could be bind into github to enable automatic build.
>  As far as I see now we shall request a permission to build a the package 
> with classic confinement (no-security restrictions)
> My experimental package is available and can be tested with:
> {code:java}
> wget 
> https://s3-us-west-2.amazonaws.com/lkishalmi-us-west-2-public/snaps/netbeans_9.0-beta-rc2_amd64.snap
> snap install netbeans_9.0-beta-rc2_amd64.snap --dangerous --classic{code}
> If we could make this happen NetBeans install on Linux could be as simple as:
> {code:java}
> snap install netbeans --classic{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to