| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\ |
|
|/
|
|
| |
Based on the review in https://github.com/gentoo/gentoo/pull/12365
|
|\ |
|
|/ |
|
|
|
|
| |
Split away the metadata parsing into its own module.
|
|
|
|
|
|
|
| |
We'll allow upstream packages to specify data fields to help populate
ebuilds will the extra data that's necessary to recreate them fully.
This adds all possible fields (except depend) for testing. Test data for
ref #10.
|
|
|
|
|
| |
This is a really basic hello world application (literally
`cargo init --bin`) to be used for testing.
|
|
|
|
|
|
| |
Added colored help output while removing unneded clap settings.
Signed-off-by: gibix <gibix@riseup.net>
|
| |
|
| |
|
|
|
|
|
| |
Remove the instantiation of Cargo's config from the main binary and move
it to the library component.
|
| |
|
|
|
|
|
|
| |
Cargo exported its own arg parsing interface that's based on clap. To
break the dependence on Cargo for everything, switch to parsing
arguments in the binary using structopt.
|
|
|
|
|
|
| |
To allow for testing the core functionality needs to be in a lib due to
the way testing works with Rust and Cargo. The binary is now just the
argument parser and then calling into the actual code in the lib.
|
|\
| |
| | |
update Travis CI settings
|
| |
| |
| |
| |
| |
| | |
Travis CI has improved a lot since this file was created and overall the
new defaults are good enough to achieve the level of testing that the
original file contained.
|
| |
| |
| |
| |
| | |
Avoid costly rebuilds when we can use Travis' ability to cache some data
for us.
|
|/
|
|
|
|
|
| |
Bump the minimum supported version to 1.26.0 as there are significant
language improvements that would be nice to use and a number of
potential dependent crates want a newer Rust so for this cycle the
version will be bumped.
|
|
|
|
|
| |
Expanded out the usage instructions to ensure its more clear how to use
this crate. fixes #3.
|
|
|
|
| |
Added a badge for Rust version and download information.
|
| |
|
| |
|
|
|
|
| |
This allows us to get rid of the need for rustc-serialize. fixed #2.
|
| |
|
| |
|
|
|
|
|
| |
These should have been there from the start but add them now to avoid
any confusion.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Rather than defining the usage in place move it into its own variable
for future flexibility.
|
|
|
|
|
|
| |
Added newer fields that crates.io understands and add an API link to
docs.rs since most people will be interested in how to use the command
instead of the API.
|
|
|
|
|
| |
Upgrade the Cargo dependency to 0.16 to support workspaces. This makes
the necessary adjustments based on Cargo API changes as well.
|
|
|
|
|
|
| |
These helper methods make it a bit clearer to read the main function and
understand what is going on. They'll provide valuable abstraction for
Cargo API updates.
|
| |
|
| |
|
|\
| |
| | |
src/ebuild.template: add valid Gentoo copyright header to generated ebuilds
|
|/
|
|
|
| |
Bug: https://bugs.gentoo.org/611542
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
|
|
|
|
| |
If we don't truncate the file then we could get some bytes at the end if
we're replacing a previous with a shorter version.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Extract the license info from the package, which is not in a proper
Gentoo format so include a note for people to update it manually.
|
| |
|
|
|
|
| |
Its too easy to forget updating this so it should be autogenerated.
|
| |
|
|
|
|
| |
Fixed some code smells with the help of clippy
|
| |
|