Hi Martin,
Am 26.12.2022 um 10:59 schrieb Martin Jansa via lists.openembedded.org:
On Mon, Dec 26, 2022 at 10:38 AM Vyacheslav Yurkov
<uvv.m...@gmail.com> wrote:
Martin, I did see that patch series, but I was not sure about its
state, therefore I didn't try it. If I understood correctly, that
partially solves the issue, but the proper solution should involve
the fetcher, that's why it's not yet merged to master. Am I
missing something?
That's not my understanding.
The proposed changes for recipetool had some cosmetic and functional
review comments and it doesn't work correctly for every possible go
dependency (e.g. the 3 issues I've mentioned from telegram recipe),
but it's very good starting point and we should be able to get it
merged in master (and then everybody can more easily contribute fixes
for the corner cases where it might not work well yet).
Even missing documentation IMHO shouldn't block merging it at this
point, because there is a clear need this (as there are already 3
partial implementations to fix this issue, neither 100% complete and
nothing merged in master - the recipetool changes are IMHO the best of
3 as it integrates with devtool as well and seems to be most complete).
go fetcher in bitbake is another possibility for future, but
generating the long deps in SRC_URI is much better solution then
enabling network in every go-mod recipe.
Does an agreement exist if we should use a package manager class which
creates a wget fetcher URI (ex. pipi) or a specific fetcher (ex. crate
and npm)? At the moment both specific fetchers have different URI
styles, create their specific tar commands and doesn't reuse the wget
fetcher. Furthermore, the crate fetcher doesn't check the integrity
during fetch. The fetcher inside bitbake have the advantage that you can
fetch the latest version (ex. AUTOREV), but it brings the risk of code
duplication and missing features. If we have an agreement and a common
style its easy to replace the function with a specific fetcher.
Regards
Stefan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175317):
https://lists.openembedded.org/g/openembedded-core/message/175317
Mute This Topic: https://lists.openembedded.org/mt/95827446/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-