ahkscript / aspdm Goto Github PK
View Code? Open in Web Editor NEWAHKScript.org's Package/StdLib Distribution and Management
Home Page: http://aspdm.ahkscript.org/
AHKScript.org's Package/StdLib Distribution and Management
Home Page: http://aspdm.ahkscript.org/
Currently having some issues with Domain name provider. The website will be migrated soon.
Currently, URLDownloadToFile is the default of DownloadFile()
.
Code in question : permalink
Opinions, suggestions? For, Against?
URLDownloadToFile : https://msdn.microsoft.com/library/ms775123
URLDownloadToCacheFile : https://msdn.microsoft.com/library/ms775122
[Edit] So it seems that some of the functionality I mentioned is already present, so let me shift this slightly.
Ultimately, what I would love is some way that an "App" can be packaged including the dependencies into a single pkg file or whatever.
You then have a Setup.exe (still an ahk script though, but compiled) that serves as a "bootstrap" for ASPDM. Setup.exe contains ASPDM and can prepare the user's machine for ASPDM to do it's thing by doing such things as checking for horrible autohotkey.com ahk and advising user to remove it, or even containing a copy of AHK that is "known good" with the App.
The idea being, that even if the user as no net connection, they can install an ASPDM based "App" from one zip containing an EXE and a pkg.
Setup unpacks ASPDM and the dependencies, then kicks ASPDM off in a mode where it already has the Tool selected and the dependencies visible, the user just has to click "Install".
Once installed, and they have an internet connection, ASPDM can be used as normal to update etc.
If the user has a net connection while installing, and newer packages are available, give option to use packaged or downloaded.
This brings the user of a potential app neatly from "What is AHK?" land to the being user of an AHK App in one nice managed chain. As far as they are concerned, ASPDM is just the "Installer / Update manager" for the App.
I have AHK installed, yet it says I dont.
The UI will need to be reworked for this.
I think that adding a filter (ignore list) is extremely important for building packages, that is; an aspdm_ignore.txt
(or similar) file (it itself would be ignored). They should follow the same syntax as in .gitignore.
Here's some info on how to use a .gitattributes
file to normalize line endings on a per-repo basis. We should do this, so as to avoid things like #2.
https://help.github.com/articles/dealing-with-line-endings
Don't know where to report else ....
Just installed ASPDM from http://aspdm.ahkscript.org/client/.
Starting the client results in error:
The ASPDM API is not responding. The server might be down. Please try again in a while (5 min).
Same happens when using the client-script directly from a fresh git-clone.....
BTW: Whats the current state of ASPDM?
I have extracted the database INI file (libdb.ini) from this forum topic (on 2015-02-03). And, I am considering to import some/most of them. I know many are for AHK v1.0 only, that will be taken into consideration as ASDPM does not AHK v1.0.
I did have a quick look through the issues and nothing caught my eye, but I'll be surprised if this has not been raised before..
Obviously, my ASPDM client couldn't talk to anything after this.. might make me think the repos were offline, if I hadn't just used them :)
It's not unsual for windows to turn supernanny when faced with user-built exe files... I'm assuming this is the case here? Anyway.. maybe a warning and workaround somewhere might be nice. I don't think anyone installing this is will be affected by seeing the message. Just means I've gotta go into settings sigh. My god, I hate it.
btw the install is in my $home cos I wanted to see how it did it before installing into system.. dunno if it makes any difference to windows antivirus.
Search Method for Website needed.
and support for multiple page, say 30 packs per page?
The highlighting option as-is seems fine, but if/when you get a lot of packages in there, surely it would be best just to hide the filtered out items?
Shouldn't ASPDM repo be splitted ? I mean :
Current | My incredibly clever and awesomely tidier idea |
---|---|
Network folder | ASPDM-Server |
Local-Client folder | ASPDM-Client |
Specifications | Keep with ASPDM-Server, or new repo |
It would be easier to manage (even though it's not that hard...) and definitively cleaner.
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):
You get a "No icon" warning, but whatever, the script does not exit and no tray icon, so you need to kill via task manager.
Probably pretty edge-case, but worth a mention.
Also, Package_Builder seems to be quite happy when compiled, but same issue. Can you not FileInstall
the Res files to make it portable?
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:
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.
I can't connect ASPDM server to download, it's always offline...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.