Interface auto-connect request for the gallery-dl snap (personal-files; netrc)

Dear @reviewers, on behalf of the current publisher of the gallery-dl snap I would like to request the following interface auto-connections according to the process for aliases, auto-connections and tracks:

Interface Name Reasoning
personal-files
PATH: $HOME/.netrc
ACCESS: readonly
This is a downloader application that supports reading sites’ login credentials via netrc(5)

I suppose the following plug declaration should work after the access is granted:

plugs:
  config-netrc:
    interface: personal-files
    read:
      - $HOME/.netrc

Thanks in advance!

Hello, two weeks have passed and I request the continuation of the review process.

Hi @Lin-Buo-Ren. Could you please explain how gallery-dl uses .netrc?

gallery-dl is a command-line program to download image-galleries and -collections from several image hosting sites, for sites requiring authentication it is supported to acquire login credentials from the user’s .netrc file, hence the request.

.netrc is often used to store credentials for other sites and so I don’t feel this is appropriate for auto-connect - instead to me manual-connection for this seems most appropriate.

Also the personal-files instance in this case should be named dot-netrc so that it is clear what is being granted access to.

As such, +1 for use of but not auto-connect of /.netrc named dot-netrc for gallery-dl from me.

Can other @reviewers please vote too?

1 Like

As long as the interface is available I don’t mind if it is not auto-connected :slight_smile: