Skip to content

Commit ed20e41

Browse files
authored
RobotPy always copies git data to your robot (#2576)
1 parent d0db246 commit ed20e41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/docs/software/advanced-gradlerio/deploy-git-data.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Including Git Data in Deploy
33

44
This article will explain how to include metadata from Git in robot code using the `gversion <https://github.com/lessthanoptimal/gversion-plugin>`__ Gradle plugin. This generates a file which can be used for accessing Git metadata in robot code. This can be used to track what revision of code is on the robot, such as by printing or logging it.
55

6+
.. note:: For Python teams, Git metadata is always copied to your robot during the deploy process. You can use :external:py:func:`wpilib.deployinfo.getDeployData` to retrieve the stored information.
7+
68
Installing gversion
79
-------------------
810

0 commit comments

Comments
 (0)