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

Extend cli tool with app management: ./elefant install <appname> #183

Open
jbroadway opened this issue Apr 24, 2013 · 2 comments
Open

Extend cli tool with app management: ./elefant install <appname> #183

jbroadway opened this issue Apr 24, 2013 · 2 comments
Labels
Milestone

Comments

@jbroadway
Copy link
Owner

Note: This issue is dependent on issue #182

The command would mirror the GUI app/theme installer on the command line, and would take the name of the app or theme as its argument, getting the installation details from the app/theme directory API.

Usage would be:

$ ./elefant install <app-or-theme-name>

Additionally, there could be a matching update command:

$ ./elefant update <app-or-theme-name>

Or even:

$./elefant update all

To update the core and all apps at the same time.

@jbroadway
Copy link
Owner Author

Update:

Apps/themes can be installed via ./elefant install $APP where $APP can be the URL of a zip file, a Github repository, or the shorthand username/repository reference to a Github project.

Updates via ./elefant update $APP or ./elefant update all are not yet implemented.

@jbroadway
Copy link
Owner Author

The issue with adding apps to the updater is that we need a unified way to deal with checksums for all apps. A solution would be to create a command for developers to package their apps and publish updates, which could connect to the Github API to create a pull request to https://github.com/elefantcms/checksums with the new checksums for the release, so that the apps can be updated securely just as the core is now.

The command might be:

./elefant release <app-or-theme-name> <version>

Also: We need to make checksums for new installs too.

@lux lux modified the milestones: 2.2, 2.4 May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants