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

ASPDM URI Protocol & Package Sources #10

Closed
fincs opened this issue Jun 26, 2014 · 11 comments
Closed

ASPDM URI Protocol & Package Sources #10

fincs opened this issue Jun 26, 2014 · 11 comments

Comments

@fincs
Copy link
Contributor

fincs commented Jun 26, 2014

The current URI format should include the host name from which the package is to be downloaded (this is mandatory for it to be a correctly formed URI). IMO it should read like this: aspdm://domain.name/packageid

This also brings up another issue: I think it should be possible to add other additional package repositories in the ASPDM Client. It could be done in a similar way to what Eclipse does (look at the 'Work with' DDL):
aaa

@joedf
Copy link
Member

joedf commented Jun 27, 2014

I see, this seems to be a good idea. Im not sure I understand what 'domain' and 'name' is exactly.
In the preceding screenshot, would it be the following?
domain: eclipse.org
name: helios
?

@fincs
Copy link
Contributor Author

fincs commented Jun 27, 2014

The domain name is just the host name of where the package repository is located, e.g. ahkscript.org or aspdm.tk or whatever.

@joedf
Copy link
Member

joedf commented Jun 27, 2014

Oh ok I thought them as two separate things...
I know what a domain name is, I guess I was just half asleep... 😛


Anyway...

Commit : 307e163

Seems to be working well, in-GUI pack source switching will come with time...

Working examples :

  • aspdm://aspdm.tk/afc
  • aspdm://ahk.cu.cc/socket_class
  • aspdm://aspdm.cu.cc/isbinfile
  • aspdm://aspdm.1eko.com/midi

As for multiple repositories, that will be dealt with in time...
Also, thanks a lot for them hints 😄 !

@fincs
Copy link
Contributor Author

fincs commented Jun 27, 2014

Nice, this is what I was thinking about.
And YW :)

@joedf
Copy link
Member

joedf commented Jun 30, 2014

In-GUI Packsource switching finally added 👍
You may close this issue if it is fulfilled as specified.

Commit: 3c9e060

@fincs
Copy link
Contributor Author

fincs commented Jun 30, 2014

As a first iteration of this functionality, it's OK. In the future, we might want to present all the packages from all sources in the same list.

@fincs fincs closed this as completed Jun 30, 2014
@joedf
Copy link
Member

joedf commented Jun 30, 2014

Good idea, will do. 🍔

@joedf
Copy link
Member

joedf commented Jul 9, 2014

How should the different sources be displayed, if they were to be all in the same list? Should there be an extra Column marking the Package source?

@fincs
Copy link
Contributor Author

fincs commented Jul 9, 2014

Yes.

@joedf
Copy link
Member

joedf commented Jul 9, 2014

Don't know if I've missed something, but it seems to work fine. 👍
Commit: b7be9d7
Installer: http://aspdm.tk/client

@joedf
Copy link
Member

joedf commented Jun 24, 2016

Update to this...

Examples:

  • aspdm://aspdm.1eko.com/midi/user will now prompt to install midi.ahkp from aspdm.1eko.com into the User Library.
  • aspdm://aspdm.ahkscript.org/samples/global prompts to install samples.ahkp from aspdm.ahkscript.org into the Global (StdLib) Library.

joedf added a commit that referenced this issue Jun 24, 2016
updated rHandler see #10, bugfix in Settings_Validate(), PackRemover was working incorrectly, PackCache installing and local repo managing still needs to be worked on.
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