GithubHelp home page GithubHelp logo

cargo ebuild --git about cargo-ebuild HOT 2 OPEN

cardoe avatar cardoe commented on September 18, 2024
cargo ebuild --git

from cargo-ebuild.

Comments (2)

cardoe avatar cardoe commented on September 18, 2024

I don’t understand the ask here. Can you clarify?

from cargo-ebuild.

necrose99 avatar necrose99 commented on September 18, 2024
if [[ ${PV} == *9999 ]]; then
	**inherit git-r3**
	EGIT_REPO_URI="https://git.kernel.org/pub/scm/git/git.git"
else tag....  EGIT_COMMIT 
 cargo-ebuild --tag= hash...... 


EGIT_CHECKOUT_DIR = to unpacked work crate/s to build..

else SRC_URI ="{($cratesURI} " to tarball .. cratesURI=all the pubic crates..

A: " I'm not going to publish they to crates.io anymore, it's a problem when you have to add your own crate fork to dependencies and then you aren't able to publish anymore there. Happened with Findomain and I had to yank more than 30 releases." unimap author

B: some authors are stung at keeping crates up at crates.io .... | this can make packing some rust tools for weekend warriors /novices more irksome...

C: cargo ebuild also won't seem to drill into Main-crate nest of crates if it needs to build sub-modules.. included in src packages.

cargo install --git https://github.com/Veil-Project/Veil-Rust will build subs ,
unfortunately each sub is a cargo-ebuild pass..
cargo ebuild tends to not like nested things.. ie sub modules..

D: add git or option to tarball ... unpack vendor tarball to the ./work/crate path...
`cargo ebuild --git=https://github.com/cardoe/cargo-ebuild.git ebuild.git" --hash=b67e6cb268e49bc959285f39a70c8947e36b8f70
---inset into ebuild --- along with some automagical inherit git-r3
EGIT_REPO_URI="https://github.com/cardoe/cargo-ebuild
--9999 [--pass=cargo-update] generate a 9999 , cargo update @ live ebuild... from updated toml

EGIT_COMMIT ="b67e6cb268e49bc959285f39a70c8947e36b8f70"`

aka https://github.com/cardoe/cargo-ebuild/releases/tag/v0.3.1

ie git clone vendor produces 98% ebuild , but the last mile so to speak of is feeding the tarball or git to fetch the src.. and not having a busted ebuild

E: adding some cli switches to generate ebuild on fly to go Get the damn tarball and or git repo " more automagically"
Useful for more novice/mere mortals of users.. and or scriptable for version bumps... on authors more stubborn on CRATING their rust/s

F: crate= foo {$work/bar/src/foo/src} for crate foo cli option to aim at in src tree relative path crate/s also a nice to have refinement.. ie build crate etc , then build main items... --insrc-crate="$relativepath"

G: --pass=cargo-update (other src-prep->cargo-ebuild or qa etc fixes)

from cargo-ebuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.