Exposing commands
Daniel Manrique
daniel.manrique at canonical.com
Mon Apr 10 13:57:43 UTC 2017
On Mon, Apr 10, 2017 at 7:40 AM, Bruno Rogerio Fernandes
<brogeriofernandes at gmail.com> wrote:
> Hi Gustavo
> Oh, this apparently solve my problem. I'm playing around just now with
> aliases, but a can't find in the docs if I can automatically activate all
> my aliases on snap install time.
> I mean, it would be great if upon snap install, the user has immediately
> access to snap app aliases. Is there something like that?
Hello,
Snap reviewers can set up automatic alias activation (a feature called
"auto-aliases"). You can ask on this list for your snap to be allowed
automatic alias activation, a reviewer will verify your request to
ensure there are no conflicts and if so, enable this feature for your
snap. Technically this will be in the snap-declaration for your snap,
but that's handled by the Ubuntu store.
I suggest you do so on a new thread/message titled something like
"auto-alias request for YOUR SNAP" to ease tracking and avoid burying
information in other threads.
Cheers,
- Daniel
>
> Em dom, 9 de abr de 2017 às 17:48, Gustavo Niemeyer <
> gustavo.niemeyer at canonical.com> escreveu:
>
>> Hi Bruno,
>>
>> You can solve some of those issues with aliases, which do allow a richer
>> range of characters.
>>
>> On Apr 9, 2017 17:25, "Bruno Rogerio Fernandes" <
>> brogeriofernandes at gmail.com>
>> wrote:
>>
>> > Oh, thanks for the clarification. I would like to port some scientific
>> apps
>> > to snaps, but for now I'm feeling a bit lost
>> >
>> > Thanks again
>> >
>> > Em dom, 9 de abr de 2017 às 01:50, Stuart Bishop <
>> > stuart.bishop at canonical.com> escreveu:
>> >
>> > > On 7 April 2017 at 08:15, Bruno Rogerio Fernandes
>> > > <brogeriofernandes at gmail.com> wrote:
>> > >
>> > > > There are one problem here:
>> > > > I cannot expose some binaries like demux.pl or do_dssp as they both
>> > have
>> > > > invalid characters on name, namely "." and "_" respectively.
>> > > > What should I do in that case? I have to expose all that commands,
>> and
>> > I
>> > > > would like to have the possibility to call them in that way:
>> > > > gromacs455.do_dssp (for example)
>> > > > Am I missing something?
>> > > >
>> > > > Thanks for your attention
>> > >
>> > > Hi.
>> > >
>> > > You are not missing something. "_" is currently unsupported, per
>> > > https://bugs.launchpad.net/bugs/1616507 .
>> > > The issue pre-dates the command aliases feature, so the rationales
>> > > forbidding them have probably changed.
>> > >
>> > > --
>> > > Stuart Bishop <stuart.bishop at canonical.com>
>> > >
>> > > --
>> > > Snapcraft mailing list
>> > > Snapcraft at lists.snapcraft.io
>> > > Modify settings or unsubscribe at:
>> > > https://lists.ubuntu.com/mailman/listinfo/snapcraft
>> > >
>> > --
>> > Snapcraft mailing list
>> > Snapcraft at lists.snapcraft.io
>> > Modify settings or unsubscribe at: https://lists.ubuntu.com/
>> > mailman/listinfo/snapcraft
>> >
>> --
>> Snapcraft mailing list
>> Snapcraft at lists.snapcraft.io
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
More information about the Snapcraft
mailing list