aloof-angle-91616
10/07/2019, 1:32 AMmaskrcnn-benchmark
source code, and test those out? or just to consume the released version of the library in your python code?aloof-angle-91616
10/07/2019, 1:33 AMaloof-angle-91616
10/07/2019, 1:34 AMaloof-angle-91616
10/07/2019, 1:37 AMrapid-crayon-8232
10/07/2019, 7:48 AMrapid-crayon-8232
10/07/2019, 8:07 AMrapid-crayon-8232
10/07/2019, 8:11 AMmaskrcnn-benchmark
source code (and define the version with commit/tag/ branch)fresh-architect-74417
10/07/2019, 12:36 PMpants
. Does pantsbuild support 3rd party package aliasing? So instead of doing this
import pants.goal.task_registrar
I want to do that
import pant_alias.goal.task_registrar
fancy-motherboard-24956
10/07/2019, 12:46 PM# Checkout your feature branch
git checkout feature_branch
# The pre-commit check can be a little annoying when doing rebases (can't pass --no-verify).
# Let's manually disable it for the time of our rebases
mv ./.git/hooks/pre-commit ./.git/hooks/pre-commit.backup
# Manually handle any (genuine) conflict pre_black
git rebase black-formatting^
# Automatically format the code in each commit of your feature branch
git rebase --interactive --exec './pants --owner-of="`git show --name-only --pretty=\"\" HEAD`" fmt-v2 && git add `git show --name-only --pretty="" HEAD` && git commit --amend --no-edit && git stash' black-formatting^
# Rebase your formatted code on top of the black commit.
# Because of the previous step, and because the black commit only formats files,
# This should not cause any conflict.
# (Caveat: if you touched the isort config or one of the tests that were formatting dependent,
# you may have a small amount of conflicts to handle)
git rebase --interactive --strategy-option=theirs --exec './pants --changed-parent="HEAD^" fmt-v2 && git add `git show --name-only --pretty="" HEAD` && git commit --amend --no-edit' black-formatting
# Handle any conflict since black (only genuine conflicts. formatting won't be part of it)
git rebase master
# Don't forget to re-enable the pre-commit hook
mv ./.git/hooks/pre-commit.backup ./.git/hooks/pre-commit
# All done. When you're ready, you may update your PR.
git push -f your_remote feature_branch
If you have any difficulty with the above steps, or are unsure about anything; feel free to DM me and I will help you through it š
Thanks everyone for the discussions, reviews and comments that made this possible šaverage-vr-56795
10/07/2019, 2:39 PM./pants -ldebug --compile-rsc-worker-count=8 --process-execution-local-parallelism=8 --compile-rsc-execution-strategy=hermetic --no-compile-rsc-incremental --compile-rsc-workflow=rsc-and-zinc compile --cache-ignore examples/src/scala/org/pantsbuild/example/hello::
I get told:
No such options scope: rsc
when RscCompile
tries to access Rsc.global_instance()
average-vr-56795
10/07/2019, 2:45 PMhappy-kitchen-89482
10/07/2019, 3:53 PMwitty-crayon-22786
10/07/2019, 3:53 PMhappy-kitchen-89482
10/07/2019, 3:53 PMhappy-kitchen-89482
10/07/2019, 3:54 PMfancy-motherboard-24956
10/07/2019, 3:54 PMhappy-kitchen-89482
10/07/2019, 3:54 PMaloof-angle-91616
10/07/2019, 3:54 PMhappy-kitchen-89482
10/07/2019, 3:55 PMaloof-angle-91616
10/07/2019, 3:55 PMhappy-kitchen-89482
10/07/2019, 3:55 PMhappy-kitchen-89482
10/07/2019, 3:56 PMaloof-angle-91616
10/07/2019, 3:57 PMfancy-motherboard-24956
10/07/2019, 3:58 PMaloof-angle-91616
10/07/2019, 3:58 PMhundreds-father-404
10/07/2019, 4:00 PMfancy-motherboard-24956
10/07/2019, 4:00 PMaloof-angle-91616
10/07/2019, 4:01 PMhappy-kitchen-89482
10/07/2019, 4:12 PMaloof-angle-91616
10/07/2019, 4:12 PM