Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mechanical-advantage/eventdeployextension
VSCode extension to commit all changes before deploying at events
https://github.com/mechanical-advantage/eventdeployextension
Last synced: 2 months ago
JSON representation
VSCode extension to commit all changes before deploying at events
- Host: GitHub
- URL: https://github.com/mechanical-advantage/eventdeployextension
- Owner: Mechanical-Advantage
- License: mit
- Created: 2022-02-10T01:20:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T05:00:34.000Z (8 months ago)
- Last Synced: 2024-05-07T18:11:42.113Z (8 months ago)
- Language: JavaScript
- Size: 139 KB
- Stars: 4
- Watchers: 4
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> [!IMPORTANT]
> This extension is deprecated. Users should set up a Gradle task to accomplish the same function, as documented [here](https://docs.advantagekit.org/installation/version-control#event-deploy).# Event Deploy for WPILib
A VSCode extension for quickly committing all changes before deploying robot code. Click "Deploy Robot Code (Event)" in the editor menu. The current branch _must_ begin with "event" (e.g. "event_nhgrs"). After an event, these commits can be squashed and merged to another branch.
This is intended for use with [AdvantageKit](https://github.com/Mechanical-Advantage/AdvantageKit). Replaying the code based on a log file requires that the same version of code is running in the simulator. We record the Git SHA as metadata in the log file; by making a new commit before every deploy, this extension guarantees that there are no uncommitted changes.
An example commit message is shown below.
> Update at "1/31/2022, 8:30:00 AM"
## Installation
The extension can be installed from the VSCode marketplace: https://marketplace.visualstudio.com/items?itemName=Mechanical-Advantage.event-deploy-wpilib
Alternatively, it can be installed by cloning the repository to the VSCode extensions folder.
### macOS/Linux
```
git clone "https://github.com/Mechanical-Advantage/EventDeployExtension.git" ~/.vscode/extensions/EventDeployExtension
```### Windows
```
git clone "https://github.com/Mechanical-Advantage/EventDeployExtension.git" %userprofile%\.vscode\extensions\EventDeployExtension
```