Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AOSC-Dev/aosc-findupdate
A small utility to help find updates in AOSC OS ABBS trees
https://github.com/AOSC-Dev/aosc-findupdate
Last synced: 2 months ago
JSON representation
A small utility to help find updates in AOSC OS ABBS trees
- Host: GitHub
- URL: https://github.com/AOSC-Dev/aosc-findupdate
- Owner: AOSC-Dev
- Created: 2021-05-17T11:02:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T03:56:36.000Z (6 months ago)
- Last Synced: 2024-08-03T01:38:41.889Z (6 months ago)
- Language: Rust
- Homepage:
- Size: 207 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AOSC Find Update
This is a small utility that helps AOSC developers to find package updates in the abbs tree.
## Requirements
- Rust 1.51+
- OpenSSL## Building
`cargo build` or `cargo build --release`
## Usage
```
USAGE: aosc-findupdate [OPTIONS]OPTIONS:
--dry-run Do not update the files in the abbs tree
-l Log updated packages to a file
-f Path to a list of packages to be updated
-i Use regular expression to filter which package to update
-d Specify the directory to the abbs tree
-c Modify version strings to comply with the AOSC Package Styling Manual
-h, --help Print help
-V, --version Print version
```### Suggested Usages
- Scenario: Rebuild + Update Survey
Example: Do a Rust rebuild survey: `aosc-findupdate -f groups/rust-rebuilds`
- Scenario: General Survey
Example: Do a general survey with all packages matching the pattern "extra-d*": `aosc-findupdate -i 'extra-d.+'`
(Note that the pattern is in **Regex syntax**, not bash globbing syntax!)
### AOSC OS Package Styling Manual compliance
AOSC Find Update does not comply with the [AOSC OS Package Styling Manual](https://wiki.aosc.io/developer/packaging/package-styling-manual/#versioning-variables) by default, unless the `-c` switch is enabled.
With the `-c` switch enabled, AOSC Find Update will transform the returned version number automatically in accordance with the Styling Manual. However, the regexes to transform version numbers are not strict enough to prevent unwanted modifications.
Always double check your `spec` file if you have enabled the `-c` switch.