Skip to content

Managing Multiple StdLib Folders #9

Description

@fincs

Currently it is not possible to manage several StdLib folders without having to change the settings.

Ideally the path to StdLib folder to manage should be a parameter to the package manager, not a global setting. Even more ideally so, there should be a dropdown in the interface that allows you to manage:

  1. the Global StdLib (AhkDir\Lib)
  2. the User StdLib (My Documents\Lib) and
  3. any Local StdLib folder (you would be prompted for it).

It would be possible to add previously-downloaded packages to these folders. Additionally, admin rights should not be required unless they are really needed: e.g. a temp file can be written to the folder in order to detect if they are needed.

Activity

  1. changed the title [-]Managing Multiple StdLib Folders & other issues[/-] [+]Managing Multiple StdLib Folders[/+] on Jun 26, 2014
  2. joedf commented on Jun 27, 2014

    @joedf
    Member

    Hmm, True. Good point, Ill post a commit on this soon. 🍔

  3. joedf commented on Jul 9, 2014

    @joedf
    Member

    Show this be a dropdown like the packsource option?

  4. fincs commented on Jul 10, 2014

    @fincs
    ContributorAuthor

    Yes, as I said in the OP.

  5. joedf commented on Jul 11, 2014

    @joedf
    Member

    Should installation have like a "checkbox" gui to have them installed in all/some dirs?

  6. fincs commented on Jul 11, 2014

    @fincs
    ContributorAuthor

    No, it would just install the package to the StdLib folder you have currently selected. If you want to install it to another folder, you'd select said folder then install the package. The ASPDM client would grab the files then from the package cache. Same for uninstalling. I think you are going to need to implement some sort of reference counting for this. Oh, and still; the StdLib folder shouldn't be a global setting (even if it's a DDL); just a parameter that the ASPDM client temporarily uses, as if it were some sort of working directory. Some sort of metadata inside that folder will also need to exist in order to keep track of installed packages (which is not the same as packages inside the package cache).

  7. added a commit that references this issue on Jun 9, 2016
  8. joedf commented on Jun 9, 2016

    @joedf
    Member

    Still in the works, but this is how it will look like. 👍
    2016-06-09_153738-b

  9. joedf commented on Jun 12, 2016

    @joedf
    Member

    It would be possible to add previously-downloaded packages to these folders
    ...
    The ASPDM client would grab the files then from the package cache. [...]

    I'll be adding in this feature ("install from cache") soon, finally completing this enhancement. 😄
    Well, I'll have to possibly update the URI scheme for the StdLib Dir. well that could be simply appended or something... 💡 ❓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions