-
Notifications
You must be signed in to change notification settings - Fork 10
feat: Retrieving translations from scanner and CLI #129
Conversation
@fabnguess I bet your error is due to default branch. You need to add await fetchTranslations(["cli"], { branch: "master" }); Edit: await fetchTranslations([{ repo: "cli", branch: "master" }, { repo: "scanner", branch: "master" }]); Or the chaining API as we discussed already await i18n
.repository("cli", { branch: "master" })
.repository("scanner", { branch: "master" })
.fetch() |
@fraxken FYI when we pass the wrong branch the error is weird |
@PierreDemailly, Indeed, the problem was due to the branch |
be5f836
to
1b1b542
Compare
This code is not intended to be shipped in the package. Everything is devDep and must be run as separated script. |
1b1b542
to
ae52c80
Compare
@fabnguess think to handle my review (you resolved some threads but the code didn't change, did you forget to push?) |
I'll do it by tonight |
Hi @fraxken , |
8d78384
to
b59570f
Compare
4c61c5b
to
5ebcd9d
Compare
5ebcd9d
to
df6ddef
Compare
I'm doing this to get your feedback and also share a problem I encountered during implementation.
The issue suggests using the GitHub package to retrieve the target projects. The problem is that when I use
downloadAndExtract
to retrieve thescanner
andcli
packages, an error appears. I tested on quite a few of our packages and the problem recurred on some.To be able to continue working, I used some packages where there were no problems, including
utils
andossf-scorecard-sdk
.