On Sun, Jun 18, 2017 at 10:27 AM, Michael Aquilina
<michaelaquilina(a)gmail.com> wrote:
> Thanks for this. Is there anywhere apart from the issue and PR you
> linked to that I could follow progress on this?
>
The Rust SIG holds meetings somewhat regularly (when there's something
to talk about) on Wednesdays each week. The logs are posted here:
https://docs.pagure.org/fedora-rust.sig/
The Rust SIG content is all hosted at Pagure:
https://pagure.io/group/fedora-rust
Also feel free to join the Fedora Rust SIG mailing list:
https://lists.fedoraproject.org/admin/lists/rust.lists.fedoraproject.org/
(rust(a)lists.fedoraproject.org)
--
真実はいつも一つ!/ Always, there's only one truth!
On Sun, Jun 18, 2017 at 9:03 AM, Michael Aquilina
<michaelaquilina(a)gmail.com> wrote:
> I'm trying to package ripgrep within OBS but it seems like github is
> unreachable by the OBS virtual machines (presumably because it's a
> security issue?).
>
> Cargo needs to contact github to retrieve the necessary crates and
> compile the binary.
>
> [ 13s] + cargo build --release --verbose
> [ 13s] Updating registry `https://github.com/rust-lang/crates.io-index`
> [ 13s] warning: spurious network error (2 tries remaining): [12/-1]
> curl error: Could not resolve host: github.com
> [ 13s]
> [ 13s] warning: spurious network error (1 tries remaining): [12/-1]
> curl error: Could not resolve host: github.com
> [ 13s]
> [ 13s] error: failed to fetch `https://github.com/rust-lang/crates.io-index`
> [ 13s]
> [ 13s] Caused by:
> [ 13s] [12/-1] curl error: Could not resolve host: github.com
> [ 13s]
>
> What is the recommended way of packaging rust applications if there is
> no access to the crate index?
>
> It's probably worth mentioning that this builds successfully with rpmbuild
>
Luke Jones has been working on bringing in the necessary packaging
capabilities (including macros) for Rust to openSUSE. Along with
myself, Igor Gnatenko, Josh Stone, and Rémi Verschelde, we've been
working on creating a standard packaging practice for Fedora, Mageia,
and openSUSE for Rust.
At this time, I believe it's not quite possible yet outside of the
Rust playground for Fedora on COPR[1], as we depend on new
functionality for RPM that is in development[2][3]. I'm working with
Luke on porting the respective changes to openSUSE so that we can have
a similar playground on OBS for Rust things.
[1]: https://copr.fedorainfracloud.org/coprs/g/rust/playground/
[2]: https://github.com/rpm-software-management/rpm/issues/159
[3]: https://github.com/rpm-software-management/rpm/pull/164
--
真実はいつも一つ!/ Always, there's only one truth!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hey there,
some of you might know that since yesterday's morning COPR supports
turning on (thanks to clime) new feature implemented in mock (thanks to
mich181189) -- use_bootstrap_chroot.
It took me only few days to update crates in playground repository to
latest shiny versions (only 75 commits) and now we have (almost) all
packages built in COPR repo[0].
So, feel free to remove rust-sig repo and replace it with COPR one:
# rm -f /etc/yum.repos.d/rust-sig.repo
# dnf -y copr enable @rust/playground
P.S. so far we have only 3 utilities there -- ripgrep, rustfilt,
rustfmt
[0] https://copr.fedorainfracloud.org/coprs/g/rust/playground/
- --
- -Igor Gnatenko
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAllC7o8ACgkQaVcUvRu8
X0xhMA/9ESN3w3crd1LN84C0Z6zngF3C+fRa/CIAConIoeE79KaLWTV3oteorkA6
wMg+S4rEd1xuwqP9hHeAPj7LYKZW947xvM+IJLuaIeeFPOzua8rdZEbUhORChCE6
CM4N3DzbRRIx5OKvR9HQhzR6BPJS3UvF6z4NTownq8MHiUP20WL9hhelQ1fhnVXB
oIWNK8EfQGuFCgJbkiqvSsbpu1msYxb+Rkq37qANur8jatQsYVXtixkv2H6T7V2r
GfmkxlOPIBy7LULY+S5znNJEPMCF6AhWJ+CbvYkIVcLein3bD8iDevDC3rIrIYhk
FgIte5hyi6xat9bdLG2mpqM80DvtoxwM3+atuXLDB/ZEYkPSefHWFCySvfDJWJat
+EPJWmnzi7xMDuiU1zQD129dyox5MDDHJWnBLxsbtyR3CvibG2EG3EG3FSt5ApLJ
D/qy/y5rwzRmQ3oYvVHHFGse8JPqApehT8hsfoRYzKaWwCtexkO5Cez/CnZ/U3rd
otfUkzxdU34VxdvFI4CbnM9H21Hb5B2QUNPQoRzXSalJihu4CCatbcvuTQsoCRVj
HkE0+bSf3FrxRNeYmnLVzB9XYGNMCnAENaoPNRWLVfUJ7pz4UgW8pg6vacGoWGKM
awgZqZiIudppHzkNKspFA4BSasu1H3TN8Ouo1aydx7vxYNlXSOc=
=sQ2j
-----END PGP SIGNATURE-----