-
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
riscv64support, but I've forked the dependency that wasn't compiling, added support, and opened a PR for that.A new helper command, called
git-versionhas 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 currentprintfcommand in theversion()function, because it doesn't depend on thegitbinary and it provides a version compatible with Debian, which requires that versions start with digits.LURE will now check the
providesarray to find packages. This means the package name no longer needs to be exact. For example, if you dolure in itd, it will finditd-gitanditd-binbecause they both haveitdin theirprovidesarrays, 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/completiondirectory. 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
$PAGERor$EDITORprogram 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
7d00c7bAdd --installed/-I flag to ls command3663a8eAdd FindPkgs to repos package79c0e7eAdd ability to list packages matching patternb3479bdAdd archlinux packager23fd711Add bash and zsh completions56ba3ecAdd build script viewer and prompt users asking if they want to read the script67b9801Add doc comments9fa3977Add fix commandfbf0aa3Add git-version helper command6013bdfAdd git-version to table of contentsfcd5c1cAdd info logs to fix command84336e4Add install script5d411acAdd new commands to usage.md table of contents3c260a7Allow parsing additional scripts via source when pulling repos715fd6cBegin moving repository operations into separate package5f12d2aBuild and update database when repo pulled715ec7fClear screen when starting pager4e71a5cCreate function for asking yes or no questions7164aacCreate function for getting canonical CPU architecturedf72d95Disable root in ls commandc512487Do two parsing passes when building a package, and prompt user to view script after the first14078ecFix SQL for deleting packagesc2d396dFix bash completion install path40cf0daFix closing brace in infoCmd() functiona2bd151Fix install-completion example664f01aFix spacing in database schema0ac8ccaHandle the possibility of the DB not existing on startupeaf49a4Make actions in internal/repos unexported8f9bdf6Make sure scripts are valid when updating DBedf5b67Mention install script in README56550a5Merge pull request #44 from Arsen6331/add-database9a06894Move configuration into separate package43d6461Move pkgPrompt() to cli.go5ed538cMove promptViewScript() call to installScripts()99b7085Move version comparison to separate package7405186Properly resolve relative paths in helper functions5e8ed1cProvide scriptdir during first interpreter pass66a6b30Pull repos before every command that uses themdbfcde0Remove 32-bit architectures until 32-bit support is added to Pebble1377ef1Remove packages from DB when removing repository2e591d9Remove unnecessary PkgNotFoundErrorc0439a2Remove unused imports4eac9cdRemove unused internal/db.GetPkg() functiondd33a30Rename repodir to scriptdir5549873Revert8ceb61de4b8348Run version function in srcdira106100Show version of installed package when listing installed packagesa88adb4Switch all LURE operations to use new DB01a9f23Switch to global log variable19ced97Switch to riscv64 fork of pebble269222bUpdate usage docsead0c79Use correct verb when prompting user to choose packagesb4f4633Use strict database table schema
Downloads