-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[robotpy parity] Write a deploy.json log file when deploying code #690
base: main
Are you sure you want to change the base?
Conversation
49a6c50
to
2c819e6
Compare
You need to be using a gradle task for this, with properly mapped inputs and outputs. Additionally, the output needs to go into somewhere in the build folder. Everything needs to be fully cross platform. This should also use grgit for the git commands, using the same version in the gradle-versioning-plugin we publish. It also needs to not fail if the project is not a git repo. |
b6d08c1
to
5d47416
Compare
5d47416
to
03c70fa
Compare
This way this will write the deploy file to the output dir and we can add to the build template a StaticFileDeploy object |
src/main/java/edu/wpi/first/gradlerio/deploy/CreateLogFileTask.java
Outdated
Show resolved
Hide resolved
ff82058
to
df1512a
Compare
just need to get the data get git data write to build/ instead
- grgit not fully used see ajoberstar/grgit#398 - doesn't fully use tasks properly I don't think - file needs to be properly set to output dir revert plugin changes fix: use gradle output dir call the thingy
requires ajoberstar/grgit#399 Try use grgit to check if in git repo not sure if this works see ajoberstar/grgit#397 fix grgit
naming
8bbe76f
to
3e09be4
Compare
Resolves #689