Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamharrison/lite-xl-maintenance
Used for maintenace of lite-xl.
https://github.com/adamharrison/lite-xl-maintenance
Last synced: 1 day ago
JSON representation
Used for maintenace of lite-xl.
- Host: GitHub
- URL: https://github.com/adamharrison/lite-xl-maintenance
- Owner: adamharrison
- Created: 2024-03-09T19:19:41.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T15:49:58.000Z (2 months ago)
- Last Synced: 2024-09-09T19:31:47.873Z (2 months ago)
- Language: Lua
- Size: 34.2 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lite-xl-maintenance
Scripts that are helpful for maintaing the lite-xl project and its various subprojects.
## Usage
By default, lpm doesn't load any extra functionality. You can change this one of two ways.
1. Add in `--plugin` to your lpm call with the path the the plugin you'd like to have extend `lpm`'s functionality. You can specify `--plugin` multiple times. Best place to do this is in an `lpm` BASH script in your path, like so:
```bash
lpm $@ --plugin ~/lite-xl-maintenance/lpm-plugins/gh.lua
```2. Export the variable `LPM_PLUGINS` to your environment; this is a colon separated list of plugin paths that will be loaded with each lpm call.
## lpm plugins
### gh
Adds github-related functionality to lpm. Requires `gh` installed.
* Allows you to supply PR urls to `run`, which will automatically decode the PR, and supply the appropriate repo.
* Allows you to automatically create PRs in [`lite-xl-plugins`](https://github.com/lite-xl/lite-xl-plugins) in your CI, that backfills stubs with the right version history.
* Allows you to create a PR to [`lite-xl-plugins`](https://github.com/lite-xl/lite-xl-plugins) that contains the initial stubs of your plugin with```
wget https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/latest/lpm.x86_64-linux -O lpm && chmod +x lpm &&
./lpm --plugin https://raw.githubusercontent.com/adamharrison/lite-xl-maintenance/latest/lpm-plugins/gh.lua create-stubs-pr
```