Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managing Multiple StdLib Folders #9

Open
fincs opened this issue Jun 26, 2014 · 7 comments
Open

Managing Multiple StdLib Folders #9

fincs opened this issue Jun 26, 2014 · 7 comments

Comments

@fincs
Copy link
Contributor

fincs commented Jun 26, 2014

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.

@fincs fincs changed the title Managing Multiple StdLib Folders & other issues Managing Multiple StdLib Folders Jun 26, 2014
@joedf
Copy link
Member

joedf commented Jun 27, 2014

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

@joedf
Copy link
Member

joedf commented Jul 9, 2014

Show this be a dropdown like the packsource option?

@fincs
Copy link
Contributor Author

fincs commented Jul 10, 2014

Yes, as I said in the OP.

@joedf
Copy link
Member

joedf commented Jul 11, 2014

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

@fincs
Copy link
Contributor Author

fincs commented Jul 11, 2014

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).

joedf added a commit that referenced this issue Jun 9, 2016
@joedf
Copy link
Member

joedf commented Jun 9, 2016

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

joedf added a commit that referenced this issue Jun 9, 2016
@joedf
Copy link
Member

joedf commented Jun 12, 2016

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
Projects
None yet
Development

No branches or pull requests

2 participants