-
v0.0.5 Stable
released this
2022-12-05 00:03:36 +00:00 | 196 commits to master since this releaseThis release contains lots of very big changes.
First of all, LURE now creates a database containing all the package metadata, and updates it every time a repo is updates. It only updates packages that have changed, and does not rebuild the entire DB, so it should be extremely fast. This will allow for some very complicated features, and has already provided some nice improvements, which will be mentioned later in this release.
Unfortunately, the DB does not support 32-bit architectures at the moment, but this is being worked on. In the meantime, LURE will not compile for 32-bit. Hopefully this does get fixed soon. It also does not have
riscv64
support, but I've forked the dependency that wasn't compiling, added support, and opened a PR for that.A new helper command, called
git-version
has been added. This helper command provides a version number calculated from the amount of revisions and commit hash of a git repo. It should be used instead of the currentprintf
command in theversion()
function, because it doesn't depend on thegit
binary and it provides a version compatible with Debian, which requires that versions start with digits.LURE will now check the
provides
array to find packages. This means the package name no longer needs to be exact. For example, if you dolure in itd
, it will finditd-git
anditd-bin
because they both haveitd
in theirprovides
arrays, and then it will prompt you for which one you want to install. This change was enabled by the new DB.Bash and ZSH completions have now been added in the
scripts/completion
directory. They will complete LURE's commands as well as package names for the install command. This has also been enabled by the new DB.LURE will now ask if you want to read the build scripts before building the package, similar to what AUR helpers do. Unlike the aforementioned AUR helpers, this feature does not depend on any
$PAGER
or$EDITOR
program being installed. It uses an internal pager with mouse and keyboard support, syntax highlighting, and text wrapping. This is based on the amazing https://github.com/charmbracelet/bubbletea library.Changelog
7d00c7b
Add --installed/-I flag to ls command3663a8e
Add FindPkgs to repos package79c0e7e
Add ability to list packages matching patternb3479bd
Add archlinux packager23fd711
Add bash and zsh completions56ba3ec
Add build script viewer and prompt users asking if they want to read the script67b9801
Add doc comments9fa3977
Add fix commandfbf0aa3
Add git-version helper command6013bdf
Add git-version to table of contentsfcd5c1c
Add info logs to fix command84336e4
Add install script5d411ac
Add new commands to usage.md table of contents3c260a7
Allow parsing additional scripts via source when pulling repos715fd6c
Begin moving repository operations into separate package5f12d2a
Build and update database when repo pulled715ec7f
Clear screen when starting pager4e71a5c
Create function for asking yes or no questions7164aac
Create function for getting canonical CPU architecturedf72d95
Disable root in ls commandc512487
Do two parsing passes when building a package, and prompt user to view script after the first14078ec
Fix SQL for deleting packagesc2d396d
Fix bash completion install path40cf0da
Fix closing brace in infoCmd() functiona2bd151
Fix install-completion example664f01a
Fix spacing in database schema0ac8cca
Handle the possibility of the DB not existing on startupeaf49a4
Make actions in internal/repos unexported8f9bdf6
Make sure scripts are valid when updating DBedf5b67
Mention install script in README56550a5
Merge pull request #44 from Arsen6331/add-database9a06894
Move configuration into separate package43d6461
Move pkgPrompt() to cli.go5ed538c
Move promptViewScript() call to installScripts()99b7085
Move version comparison to separate package7405186
Properly resolve relative paths in helper functions5e8ed1c
Provide scriptdir during first interpreter pass66a6b30
Pull repos before every command that uses themdbfcde0
Remove 32-bit architectures until 32-bit support is added to Pebble1377ef1
Remove packages from DB when removing repository2e591d9
Remove unnecessary PkgNotFoundErrorc0439a2
Remove unused imports4eac9cd
Remove unused internal/db.GetPkg() functiondd33a30
Rename repodir to scriptdir5549873
Revert8ceb61d
e4b8348
Run version function in srcdira106100
Show version of installed package when listing installed packagesa88adb4
Switch all LURE operations to use new DB01a9f23
Switch to global log variable19ced97
Switch to riscv64 fork of pebble269222b
Update usage docsead0c79
Use correct verb when prompting user to choose packagesb4f4633
Use strict database table schema
Downloads
- Source Code (ZIP)
- Source Code (TAR.GZ)
-
checksums.txt
1.6 KiB
-
linux-user-repository-0.0.5-linux-aarch64.apk
9.6 MiB
-
linux-user-repository-0.0.5-linux-aarch64.deb
9.6 MiB
-
linux-user-repository-0.0.5-linux-aarch64.pkg.tar.zst
9.2 MiB
-
linux-user-repository-0.0.5-linux-aarch64.rpm
9.6 MiB
-
linux-user-repository-0.0.5-linux-riscv64.apk
10 MiB
-
linux-user-repository-0.0.5-linux-riscv64.deb
10 MiB
-
linux-user-repository-0.0.5-linux-riscv64.pkg.tar.zst
9.6 MiB
-
linux-user-repository-0.0.5-linux-riscv64.rpm
10 MiB
-
linux-user-repository-0.0.5-linux-x86_64.apk
10 MiB
-
linux-user-repository-0.0.5-linux-x86_64.deb
10 MiB
-
linux-user-repository-0.0.5-linux-x86_64.pkg.tar.zst
10 MiB
-
linux-user-repository-0.0.5-linux-x86_64.rpm
10 MiB
-
lure_0.0.5_linux_aarch64.tar.gz
9.3 MiB
-
lure_0.0.5_linux_riscv64.tar.gz
9.7 MiB
-
lure_0.0.5_linux_x86_64.tar.gz
10 MiB