Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```