- 💻 I write Open Source software in Rust, Haskell, and Lisp.
- 🐧 I am the author of the Aura Package Manager for Arch Linux.
- 🔗 My Website
- 🔆 My Full CV
-
🐧 Arch LinuxのAura Package Managerの作者です。
-
🔗 個人サイト (和)
-
🔆 経歴 (和)
Prepare Rust projects to be released on the Arch Linux User Repository
License: MIT License
🐧 Arch LinuxのAura Package Managerの作者です。
🔗 個人サイト (和)
🔆 経歴 (和)
workspace seems to be not supported.
I get workspace with 2 subprojets, but when running cargo aur
, get Error: missing field package at line 1 column 1
Hi, I think
options=("strip")
isn't necessary because strip
is default option in /etc/makepkg.conf
. And if it's not, user's config should be respected.
No big deal, but feedback is usually welcome, so there it is 😄
I am currently unable to run cargo aur
, and don't know how to interpret the error message.
> cargo aur
/home/vardy/.cargo/bin/cargo-aur: unexpected free argument `aur`
Any idea what I am doing wrong? How can I investigate this further?
Simply- add an option that will allow to insert a line inside package()
Currently the PKGBUILD assumes that the assets are at <REPO>/releases/download/v<VERSION>/<NAME>-<VERSION>-x86_64.tar.gz
.
However with Gitlab the assets are at <REPO>/-/archive/<TAG>/<ARTIFACT NAME>
.
There could be a option to override these templates in the cmdline/environment variables.
Most Rust packaging and building tools (cargo, cargo-bundle, cargo-deb, etc.) output somewhere in the target directory. It would be wonderful if cargo-aur would do the same. I could make a PR if you don't want to do this yourself.
For example, my package, didyoumean
builds a binary called dym
with this addition to the Cargo.toml
file:
[[bin]]
name = "dym"
path = "src/main.rs"
The script fails when running strip
as the binary name is not as the script expects. The issue is with line 246 of main.rs: binary.push(&package.name);
which assumes that package.name
is the same as the produced binary.
I don't know enough about Cargo.toml
parsing so I'm not sure how to parse a new field exactly and to change the binary path optionally if that field exists, however I would be glad to work on it if someone could point me in the right direction.
This tool appears to fail if the homepage
field is not specified in Cargo.toml
. C-METADATA, which is linked in the README, states that homepage
is optional and further states:
The homepage metadata should only be set if there is a unique website for the crate other than the source repository or API documentation. Do not make
homepage
redundant with either thedocumentation
orrepository
values. For example, serde sets homepage to https://serde.rs, a dedicated website.
Given that a lot of crates these days will just have a repository URL and not a separate homepage, I think it would be good to make homepage
optional in cargo-aur
(following the approach in C-METADATA). The url
field in the PKGBUILD could be set to homepage
or, if that is not present, documentation
or, if that is not present, repository
(the last being a required field per C-METADATA).
Happy to work on a PR for this if helpful.
My project includes some data (mostly sample files) which I would like my aur package to install into /usr/local/share/<appname>
. Can cargo-aur be configured to include these files in the tar file in a way that they would be copied into the right place on install?
👋 It looks like the license identifier references are outdated from the SPDX identifier perspective. Would be good to use SDPX license identifier (as it is a ISO standard). Let me know if that makes sense. Thanks!
Lines 20 to 22 in c266127
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.