Committing to FGdb
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
If you need to make a change to the live database (it can't wait for me to be around or for a release to happen), do this:
- Get a checkout fgdb.rb:
- git clone dev.freegeek.org:/git/fgdb.rb
- On a checkout of fgdb.rb:
- git fetch
- git checkout -b release_$(./script/sorted-tags | tail -1) origin/release_$(./script/sorted-tags | tail -1) || git checkout release_$(./script/sorted-tags | tail -1)
- git pull
- change stuff
- git commit -a -m "commit msg"
- git checkout master
- git pull
- git merge release_$(./script/sorted-tags | tail -1)
- git push
- Then on arik:
- sleep 60 # waiting for the mirror that it pulls from to update
- cd /var/www/fgdb.rb
- sudo git pull
- Restart fgdb (only needed if code was changed):
- ./script/nice-restart