Stop using code in other repos #141
Labels
No labels
bug
cancelled
corsica
decision
documentation
duplicate
enhancement
help wanted
invalid
mozilla-build
question
security
testing
vidyo-kiosk
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jlin/dinobuildr#141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We do two sketchy things in our build. We pull down python scripts from forked repos, pin their commit hashes and execute them via curl:
mozilla/dinobuildr@b58ee985a4/repo/dock-config.sh (L17-L27)mozilla/dinobuildr@b58ee985a4/repo/wallpaper.sh (L48-L53)While this is "safe" enough for our purposes, since the repos are forked and we hash pin, we should stop doing this altogether because we can't lint these scripts.
Of course, we also can't lint binaries that we pull down for our build, but this seems like a thing we could stop doing and it would make the build easier to understand. I believe the best solution is to simply pull these scripts into dinobuildr, and make dinobuildr understand how to natively execute python.