Support removing components from the community channel
Bug #1443678 reported by
Nekhelesh Ramananthan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Touch Component Store |
Triaged
|
High
|
Unassigned |
Bug Description
At the moment app devs can submit components using the "ucs submit" command. But there is no way to remove submitted components from the store.
To post a comment you must log in.
<nik90> aquarius: how does one remove a component from the community store? EDIT_THIS_ FILE_BY_ HAND" :P and was worried if the server had provision to remove components component_ store.json) and then "ucs remove sil/Component" will look at the existing branch it knows about, see it's no longer a branch, and remove it from the list component_ store.json, that file contains required metadata, etc)
<aquarius> nik90, at the moment, by pinging me
<aquarius> the issue there is that submission does not require authentication
<aquarius> (deliberately)
<aquarius> and I don't want you to be able to remove my components
* bfiller has quit (Ping timeout: 256 seconds)
* michal__ has quit (Quit: Ex-Chat)
aquarius AskUbuntu awe_ abfab-pi achiang adam_b adfad666 ahayzen ahoneybun ajalkane AlanBell AlbertA alecu alesage alex-abreu andygraybeal anpok artmello_ asac attente Azelphur
<nik90> aquarius: ok..because I saw this big "DO_NOT_
<aquarius> I'm not sure how to solve that. I *think* the best way is to require that you make the destination branch invalid as a component somehow (obvious way: remove ubuntu_
<nik90> aquarius: I will mention that quickly in the docs for now as a temporary info msg.
<aquarius> the reason you mustn't edit that file by hand is that the UCS server maintains its own copy of it, and if you edit the one in Launchpad, the server's copy gets out of sync and then it all goes wrong ;)
<nik90> aquarius: is it possible to check the existence of a lp branch?
* ChickenCutlass has quit (Quit: Bye)
<nik90> if app dev deletes his lp branch and then submits that as an *update*, it would be removed from the list
<aquarius> it is -- when you submit a component to the community store, the server fetches your branch and pokes around in it to confirm that it's a valid-looking component (it has an ubuntu_
* ChickenCutlass (~<email address hidden>) has joined #ubuntu-touch
<aquarius> ya, I think that that's the best way, I just haven't implemented it yet :)