Buildgen doesn't work on Spindle?
See original GitHub issueIt looks like buildgen in fsqio doesn’t seem to be updating dependencies in src/thrift:
Omers-MacBook-Pro:fsqio omer$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: src/thrift/io/fsq/twofishes/BUILD
no changes added to commit (use "git add" and/or "git commit -a")
Omers-MacBook-Pro:fsqio omer$ git diff src/thrift/io/fsq/twofishes/BUILD
diff --git a/src/thrift/io/fsq/twofishes/BUILD b/src/thrift/io/fsq/twofishes/BUILD
index 2846792..dbcaa37 100644
--- a/src/thrift/io/fsq/twofishes/BUILD
+++ b/src/thrift/io/fsq/twofishes/BUILD
@@ -3,9 +3,6 @@
scala_record_library(
name = 'twofishes',
dependencies = [
- '3rdparty:bson',
- '3rdparty:twitter-util',
- 'src/jvm/io/fsq/spindle/runtime',
],
sources = globs('*.thrift'),
provides=scala_artifact(
Omers-MacBook-Pro:fsqio omer$ ./pants buildgen
22:31:09 00:00 [main]
(To run a reporting server: ./pants server)
22:31:09 00:00 [setup]
22:31:09 00:00 [parse]
Executing tasks in goals: tag -> bootstrap -> imports -> unpack-jars -> validate -> deferred-sources -> build-spindle -> jvm-platform-validate -> gen -> webpack -> map-java-exported-symbols -> map-scala-exported-symbols -> map-jvm-symbol-to-source-tree -> resolve -> map-third-party-jar-symbols -> map-scala-used-symbols -> map-sources-to-addresses-mapper -> map-scala-library-used-addresses -> map-python-exported-symbols -> map-derived-targets -> buildgen
22:31:10 00:01 [tag]
22:31:10 00:01 [tag]
22:31:10 00:01 [bootstrap]
22:31:10 00:01 [substitute-aliased-targets]
22:31:10 00:01 [bootstrap-jvm-tools]
22:31:10 00:01 [provide-tools-jar]
22:31:10 00:01 [global-jar-dependency-management]
22:31:10 00:01 [imports]
22:31:10 00:01 [ivy-imports]
22:31:10 00:01 [unpack-jars]
22:31:11 00:02 [unpack-jars]
22:31:11 00:02 [validate]
22:31:11 00:02 [validate]
22:31:11 00:02 [deferred-sources]
22:31:11 00:02 [deferred-sources]
22:31:11 00:02 [build-spindle]
22:31:11 00:02 [build-spindle]
22:31:11 00:02 [jvm-platform-validate]
22:31:11 00:02 [jvm-platform-validate]
22:31:11 00:02 [gen]
22:31:11 00:02 [antlr-java]
22:31:11 00:02 [antlr-py]
22:31:11 00:02 [jaxb]
22:31:11 00:02 [protoc]
22:31:11 00:02 [ragel]
22:31:11 00:02 [thrift-java]
22:31:11 00:02 [thrift-py]
22:31:11 00:02 [wire]
22:31:11 00:02 [go-thrift]
22:31:11 00:02 [spindle]
22:31:11 00:02 [validate-graph]
22:31:11 00:02 [webpack]
22:31:11 00:02 [webpack-resolve]
22:31:11 00:02 [webpack-gen]
22:31:12 00:03 [map-java-exported-symbols]
22:31:12 00:03 [map-java-exported-symbols]
22:31:12 00:03 [map-scala-exported-symbols]
22:31:12 00:03 [map-scala-exported-symbols]
22:31:12 00:03 [map-jvm-symbol-to-source-tree]
22:31:12 00:03 [map-jvm-symbol-to-source-tree]
22:31:12 00:03 [resolve]
22:31:12 00:03 [ivy]
22:31:13 00:04 [go]
22:31:13 00:04 [map-third-party-jar-symbols]
22:31:13 00:04 [map-third-party-jar-symbols]
22:31:13 00:04 [map-scala-used-symbols]
22:31:13 00:04 [map-scala-used-symbols]
22:31:13 00:04 [map-sources-to-addresses-mapper]
22:31:13 00:04 [map-sources-to-addresses-mapper]
22:31:13 00:04 [map-scala-library-used-addresses]
22:31:13 00:04 [map-scala-library-used-addresses]
22:31:13 00:04 [map-python-exported-symbols]
22:31:13 00:04 [map-python-exported-symbols]
22:31:13 00:04 [map-derived-targets]
22:31:13 00:04 [map-derived-targets]
22:31:13 00:04 [buildgen]
22:31:13 00:04 [go]
22:31:13 00:04 [buildgen]
22:31:13 00:04 [aggregate-targets]
22:31:13 00:04 [scala]WARN] BuildFileManipulator would have added test/thrift/io/fsq/spindle/codegen/parser/test:test as a dependency of test/jvm/io/fsq/spindle/codegen/binary/test:test, but that dependency was already forced with a comment.
22:31:13 00:04 [python]
22:31:14 00:05 [complete]
SUCCESS
I recall it working there and see there’s some code in buildgen referring to Spindle.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
fsqio.pants.buildgen.spindle - Python package | Snyk
You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests. Keep...
Read more >Front Spindle Problem. Am I Missing Something?
I discovered that my front spindles where not installed correctly when I went to add the braided brake lines to the calipers.
Read more >Troubleshooting Spindle Problems
If you are having unusual problems with your spindle or machine, do not hesitate to call our experts in the Service Center for...
Read more >spindle.rogue_2.11 1.3.2 javadoc (io.fsq)
Does the spindle.rogue_2.11-1.3.2-javadoc.jar file contains an index.html in the extracted root folder? (you can rename .jar to .zip to extract the file).
Read more >pantsbuild.pants.contrib.spindle · PyPI
Fix goal idea issues with mistakenly identifying a test folder as regular code, missing resources folders, and resources folders overriding code folders.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How I tested that in Fsqio.
git pull fsqio master
Add the above pants.ini change (it already has the BUILD.tools part in the BUILD.opensource file)
Delete some dependencies from scala_record_library files:
Changed some
scala_record_library
andbuildgen_bag
BUILD files and run buildgen👋
Yeah, I forgot honestly, although I thought I had gotten enough of the general info in that thread, all that was missing was the exact current package name.
Anyway, it was due. I updated fsqio tonight and also configured a PyPi module for fsqio.pants.buildgen.spindle.
If you check out Fsq.io master, you should be able to fully demo consuming buildgen from hosted repo with the following small diff