...now that all crates are gone?
Perhaps something to be written about in the Fedora magazine?
Best regards
Anders Blomdell
We're still doing the same thing on rawhide, but we've been using modules (referencing git master branches) for stable Fedora. Igor should be able to say more.
On Thu, Aug 29, 2019 at 10:53 AM Anders Blomdell anders.blomdell@control.lth.se wrote:
...now that all crates are gone?
Perhaps something to be written about in the Fedora magazine?
Best regards
Anders Blomdell
Anders Blomdell Email: anders.blomdell@control.lth.se Department of Automatic Control Lund University Phone: +46 46 222 4625 P.O. Box 118 SE-221 00 Lund, Sweden _______________________________________________ Rust mailing list -- rust@lists.fedoraproject.org To unsubscribe send an email to rust-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/rust@lists.fedoraproject.org
On 2019-09-10 19:50, Josh Stone wrote:
We're still doing the same thing on rawhide, but we've been using modules (referencing git master branches) for stable Fedora.
Does this imply duplicating all crates used by an application in the source RPM?
Igor should be able to say more.
Would be great to get a writeup of best practices...
On Thu, Aug 29, 2019 at 10:53 AM Anders Blomdell anders.blomdell@control.lth.se wrote:
...now that all crates are gone?
Perhaps something to be written about in the Fedora magazine?
Best regards
Anders Blomdell
Best regards
Anders Blomdell
On Tue, Sep 17, 2019, 10:07 AM Anders Blomdell < anders.blomdell@control.lth.se> wrote:
On 2019-09-10 19:50, Josh Stone wrote:
We're still doing the same thing on rawhide, but we've been using modules (referencing git master branches) for stable Fedora.
Does this imply duplicating all crates used by an application in the source RPM?
No, the module-based builds still use the individual crate rpms. You could look at ripgrep for an example.
On Tue, Sep 17, 2019 at 4:07 PM Anders Blomdell anders.blomdell@control.lth.se wrote:
On 2019-09-10 19:50, Josh Stone wrote:
We're still doing the same thing on rawhide, but we've been using modules (referencing git master branches) for stable Fedora.
Does this imply duplicating all crates used by an application in the source RPM?
Igor should be able to say more.
Would be great to get a writeup of best practices...
We are still working on our tooling (more specifically, Robert Fairley). It generates modulemd out of Rawhide repositories (with disabled building of crates and filtered them out).
So basically, all crates are converted to the RPMs each time module is built and used to build final application, but not shipped to the users). Check example here: https://src.fedoraproject.org/modules/ripgrep/blob/latest/f/ripgrep.yaml
On Thu, Aug 29, 2019 at 10:53 AM Anders Blomdell anders.blomdell@control.lth.se wrote:
...now that all crates are gone?
Perhaps something to be written about in the Fedora magazine?
Best regards
Anders Blomdell
Best regards
Anders Blomdell
-- Anders Blomdell Email: anders.blomdell@control.lth.se Department of Automatic Control Lund University Phone: +46 46 222 4625 P.O. Box 118 SE-221 00 Lund, Sweden _______________________________________________ Rust mailing list -- rust@lists.fedoraproject.org To unsubscribe send an email to rust-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/rust@lists.fedoraproject.org
On 2019-09-19 08:20, Igor Gnatenko wrote:
On Tue, Sep 17, 2019 at 4:07 PM Anders Blomdell anders.blomdell@control.lth.se wrote:
On 2019-09-10 19:50, Josh Stone wrote:
We're still doing the same thing on rawhide, but we've been using modules (referencing git master branches) for stable Fedora.
Does this imply duplicating all crates used by an application in the source RPM?
Igor should be able to say more.
Would be great to get a writeup of best practices...
We are still working on our tooling (more specifically, Robert Fairley). It generates modulemd out of Rawhide repositories (with disabled building of crates and filtered them out).
So basically, all crates are converted to the RPMs each time module is built and used to build final application, but not shipped to the users). Check example here: https://src.fedoraproject.org/modules/ripgrep/blob/latest/f/ripgrep.yaml
This link is now dead :-/
Trying to mock build https://archives.fedoraproject.org/pub/fedora/linux/releases/31/Modular/sour... gives the following error:
No matching package to install: '(crate(bstr/default) >= 0.2.0 with crate(bstr/default) < 0.3.0)' No matching package to install: '(crate(clap/suggestions) >= 2.32.0 with crate(clap/suggestions) < 3.0.0)' No matching package to install: '(crate(grep/default) >= 0.2.4 with crate(grep/default) < 0.3.0)' No matching package to install: '(crate(grep/pcre2) >= 0.2.4 with crate(grep/pcre2) < 0.3.0)' No matching package to install: '(crate(ignore/default) >= 0.4.7 with crate(ignore/default) < 0.5.0)' No matching package to install: '(crate(lazy_static/default) >= 1.1.0 with crate(lazy_static/default) < 2.0.0)' No matching package to install: '(crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0)' No matching package to install: '(crate(num_cpus/default) >= 1.8.0 with crate(num_cpus/default) < 2.0.0)' No matching package to install: '(crate(regex/default) >= 1.0.5 with crate(regex/default) < 2.0.0)' No matching package to install: '(crate(serde/default) >= 1.0.77 with crate(serde/default) < 2.0.0)' No matching package to install: '(crate(serde_derive/default) >= 1.0.77 with crate(serde_derive/default) < 2.0.0)' No matching package to install: '(crate(serde_json/default) >= 1.0.23 with crate(serde_json/default) < 2.0.0)' No matching package to install: '(crate(termcolor/default) >= 1.0.3 with crate(termcolor/default) < 2.0.0)'
So, I'm missing some magic incantations :-(
Regards
Anders
Hi,
trying to follow https://fedoraproject.org/wiki/Changes/DynamicBuildRequires which works fine when building against rawhide (Fedora-32) but fails miserably against fedora-31. What magic incantations am I missing?
/Anders
On 2019-11-22 08:56, Anders Blomdell wrote:
On 2019-09-19 08:20, Igor Gnatenko wrote:
On Tue, Sep 17, 2019 at 4:07 PM Anders Blomdell anders.blomdell@control.lth.se wrote:
On 2019-09-10 19:50, Josh Stone wrote:
We're still doing the same thing on rawhide, but we've been using modules (referencing git master branches) for stable Fedora.
Does this imply duplicating all crates used by an application in the source RPM?
Igor should be able to say more.
Would be great to get a writeup of best practices...
We are still working on our tooling (more specifically, Robert Fairley). It generates modulemd out of Rawhide repositories (with disabled building of crates and filtered them out).
So basically, all crates are converted to the RPMs each time module is built and used to build final application, but not shipped to the users). Check example here: https://src.fedoraproject.org/modules/ripgrep/blob/latest/f/ripgrep.yaml
This link is now dead :-/
Trying to mock build https://archives.fedoraproject.org/pub/fedora/linux/releases/31/Modular/sour... gives the following error:
No matching package to install: '(crate(bstr/default) >= 0.2.0 with crate(bstr/default) < 0.3.0)' No matching package to install: '(crate(clap/suggestions) >= 2.32.0 with crate(clap/suggestions) < 3.0.0)' No matching package to install: '(crate(grep/default) >= 0.2.4 with crate(grep/default) < 0.3.0)' No matching package to install: '(crate(grep/pcre2) >= 0.2.4 with crate(grep/pcre2) < 0.3.0)' No matching package to install: '(crate(ignore/default) >= 0.4.7 with crate(ignore/default) < 0.5.0)' No matching package to install: '(crate(lazy_static/default) >= 1.1.0 with crate(lazy_static/default) < 2.0.0)' No matching package to install: '(crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0)' No matching package to install: '(crate(num_cpus/default) >= 1.8.0 with crate(num_cpus/default) < 2.0.0)' No matching package to install: '(crate(regex/default) >= 1.0.5 with crate(regex/default) < 2.0.0)' No matching package to install: '(crate(serde/default) >= 1.0.77 with crate(serde/default) < 2.0.0)' No matching package to install: '(crate(serde_derive/default) >= 1.0.77 with crate(serde_derive/default) < 2.0.0)' No matching package to install: '(crate(serde_json/default) >= 1.0.23 with crate(serde_json/default) < 2.0.0)' No matching package to install: '(crate(termcolor/default) >= 1.0.3 with crate(termcolor/default) < 2.0.0)'
So, I'm missing some magic incantations :-(
Regards
Anders
is "rust" also meant to be used by old people?