Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.33 KB

DEVELOPMENT.md

File metadata and controls

39 lines (31 loc) · 1.33 KB

Development

There's not much development to be done in the config repo. The UI part of Veda is stored at veda-ui, and connected to the config via a git submodule.

To avoid breaking changes, the version of veda-ui is pinned to a specific commit making use of a git-submodule. This allows development to continue without breaking existent instances. You can see the version running:

./.veda/veda --info

The commit you may want to pin the veda-ui to will depend, but to update veda-ui you can do:

# Go into the submodule
cd .veda/ui

# Update the submodule info
git fetch

# Switch to the release you want.
# You can see the list of releases on https://github.com/NASA-IMPACT/veda-ui/releases

git checkout vx.x.x 

# Get back to the root directory
cd -

At this point you will have changed the commit the submodule is pointed to.
If you run a diff on the submodule git diff .veda/ui you'll see that the commit changed.

diff --git a/.veda/ui b/.veda/ui
index 67c68c4..57d18a1 160000
--- a/.veda/ui
+++ b/.veda/ui
@@ -1 +1 @@
-Subproject commit 67c68c4115283a76fe8f3e0921fcd43ad281077a
+Subproject commit 57d18a12a4c17eaf436e128bd06904cba75f3e4a

The only thing left to do is to commit this change like you'd normally do.