Www.OpenEarth.eu workflow. SubVersion Version control Quality control: “Something adheres to some criteria” Without a properly defined something there.

Slides:



Advertisements
Similar presentations
TortoiseSVN By Group 1 Team B. Installing TortoiseSVN.
Advertisements

SubVersion SubVersion svn.oss.deltares.nl. workflow.
Services Course Windows Live SkyDrive Participant Guide.
Intro to Version Control Have you ever …? Had an application crash and lose ALL of your work Made changes to a file for the worse and wished you could.
Datawarehouse Workflow: ETLP Extract Transform LoadProvide Make user- friendly formats Dynamic database Charts & Maps Tools & websites Archive native formats.
Kick-off meeting Delft, April FP – SPACE no Data Fast First step in data management – repository Gerrit Hendriksen Gerben.
1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
TortoiseSVN Tutorial TortoiseSVN Tutorial By: Dung Nguyen Date: May 26 th, 2008 Duration: 1h30’ By: Dung Nguyen Date: May 26 th, 2008 Duration: 1h30’ Topic:
Version Control System (Sub)Version Control (SVN).
EDGE Quickstart EDGE Version Control Tutorial Kate Gleason College of Engineering Rochester Institute of Technology Using the Engineering Design Guide.
Version Control System Sui Huang, McMaster University Version Control SystemSui Huang, McMaster University Version Control System -- base on Subversion.
Dedi Rahmawan Putra  Shared Document  Conventional Ways  Common Problems  What is TortoiseSVN  Advantages over another tools  Basic Concepts.
Using subversion COMP 2400 Prof. Chris GauthierDickey.
Using svn and git with Unity and sdk
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 21: Publishing Your Pages on the Web.
SubVersioN – the new Central Service at DESY by Marian Gawron.
By Steven Campbell and Erik Boone.  Sharing projects by putting them into a central repository.  Checking out copies of projects from the repository.
Version Control. What is Version Control? Manages file sharing for Concurrent Development Keeps track of changes with Version Control SubVersion (SVN)
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
Git for Version Control These slides are heavily based on slides created by Ruth Anderson for CSE 390a. Thanks, Ruth! images taken from
Getting Started with GIT. Basic Navigation cd means change directory cd.. moves you up a level cd dir_name moves you to the folder named dir_name A dot.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
The Design Workshop Introduction to Version Control 1.
Version Control with Subversion Quick Reference of Subversion.
Subversion Code Deployment LifeCycle August 2011.
Git – versioning and managing your software L. Grewe.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Subversion (SVN) Tutorial Source:
Drexel University Software Engineering Research Group Git for SE101 1.
…using Git/Tortoise Git
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Using Subversion and TortoiseSVN for Windows by Galen Wilkerson Gund Institute for Ecological Economics University of Vermont
Version Control Systems with Subversion (SVN) and Tortoise.
Version Control Menggunakan TortoiseSVN
Subversion (SVN) A Revision Control System Successor to CVS Carlos Armas Hervey Allen.
Subversion in the Sur lab A tool for organizing and sharing analysis code.
DireXions – Your Tool Box just got Bigger PxPlus Version Control System Using TortoiseSVN Presented by: Jane Raymond.
FILES AND ASSETS PANELS
CVS – concurrent versions system Network Management Workshop intERlab at AIT Thailand March 11-15, 2008.
CSE 219 Computer Science III CVS
Document Management Service MaestroTec, Inc. D ocument M anagement S ervice Improve the way you manage your critical business documents.
Microsoft Visual SourceSafe “(VSS) does not eliminate the need for discipline and coordination. It only makes discipline and coordination easier to live.
Subversion is a free/open-source version control system. It manages files and directories, and the changes made to them, over time. This allows you to.
Version Control with SVN Images from TortoiseSVN documentation
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
SWGData and Software Access - 1 UCB, Nov 15/16, 2006 THEMIS SCIENCE WORKING TEAM MEETING Data and Software Access Ken Bromund GST Inc., at NASA/GSFC.
Copyright © Curt Hill Tortoise SVN A Subversion Client.
When collaborating, it is important to manage changes in the models. For example: –To create or edit a submodel E.g. Habitat suitability is replaced with.
1 MSTE Visual SourceSafe For more information, see:
L.T.E :: Learning Through Experimenting Using google-svn for MtM Docs Development Denis Thibault Version 3.2 Mar 12 th, 2009.
Sabriansyah R.A Version Control. The Repository Subversion adalah sistem tersentralisasi untuk informasi sharing Repository adalah pusat penyimpanan data.
(1) Introduction to Subversion (SVN) and Google Project Hosting Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
© CGI Group Inc. User Guide Subversion client TortoiseSVN.
GIT Version control. Version Control Sharing code via a centralized DB Also provides for Backtracking (going back to a previous version of code), Branching.
Sharing and Synching files
Version Control with Subversion
SVN intro (review).
Source Control Dr. Scott Schaefer.
User Guide PrimePortal – File Archive
Subversion.
Services Course 9/9/2018 3:37 PM Services Course Windows Live SkyDrive Participant Guide © 2008 Microsoft Corporation. All rights reserved.
Mercurial & TorToise-HG
Concurrent Version Control
Source Code Management
User Guide Subversion client TortoiseSVN
User Guide PrimePortal – File Archive
Subversion Basics Guide
Git CS Fall 2018.
Presentation transcript:

workflow

SubVersion

Version control Quality control: “Something adheres to some criteria” Without a properly defined something there is no basis whatsoever for quality control. Subversion provides for this and is a necessary (but not sufficient) requirements for achieving quality date x batch no. x ingredients x calories x ℮ gram x date √ batch no. √ ingredients √ calories √ ℮ gram √

SubVersion SubVersion is a web-based system for version control It allows a worldwide community of people to collaborate online You can think of a SubVersion repository as an ftp drive with a memory sharepoint environment for any file format (not just *.doc, *.xls). Everyone can add/alter/remove and retrieve data But nothing can be added/altered/removed without being noticed because SubVersion logs everything which guarantees a safe way of collaborating without need for editors This is exactly how wikipedia operates: no editorial board simply anyone can participate, but not unnoticed everything is logged So SubVersion is a kind of ‘wikitoolia’ (or ‘toolipedia’ if you like)

SubVersion ↓ Wikipedia keeps the history of all modifications, and so does Subversion ↓

SubVersion SubVersion servers are for instance hosted by SourceForge.org Deltares also hosts a SubVersion OpenEarth has a free ride on the Deltares server Everyone is invited to launch their own server for internal use The OpenEarth server is for open tools proof-of-concept for internal clones by partners operational server for open data SubVersion was originally meant for computer code. Recently it is also used for model input schematisations And OpenEarth has adopted it to host raw data + scripts as well

SubVersion SubVersion is a tool to synchronize a local copy with a server copy A SubVersion client is needed to : Get updates from the server to a local copy: checkout Put updates from a local copy onto a server: commit The server mother-copy can be viewed with a web-browser only The server copy cannot directly be used The server copy only shows the latest version, not the history A SubVersion client can get a local copy to work with can show the history of all modifications Unlike Sharepoint: multiple people can work simultaneously SubVersion makes sure that changes are merged without conflicts.

commit central database: repos.deltares.nl local copy D:\ E:\ F:\ REPOSITORY basics delete add copy update browse checkout internet PC

commit central database: repos.deltares.nl local copy D:\ E:\ F:\ REPOSITORY browse delete add copy update browse checkout

REPOSITORY browse repos.deltares.nl

Repository username Get username and password. Why, OpenEarth is open, right? Yes, but closed community For best quality all actions are logged (just like wikipedia) Nothing can be lost, only temporarily disabled So anyone can be allowed to join Every file is logged … … and every line in every file is logged.

REPOSITORY browse

commit central database: repos.deltares.nl local copy D:\ E:\ F:\ REPOSITORY checkout delete add copy update browse checkout Not handy to get files one by one with browser Get them all at once with free program Jargon: Checkout

REPOSITORY checkout Download and install Tortoise (

REPOSITORY checkout Make a checkout in e.g. F:\checkouts\ No need to back this up, it’s only a copy... After installation of TorToiseSVN and rebooting, new icons show- up when right-mouse clicking on a directory.

REPOSITORY checkout Copy url from browser (case sensitive!) Make sure that tree of local copy mimics server

commit central database: repos.deltares.nl local copy D:\ E:\ F:\ REPOSITORY commit delete add copy update browse checkout

REPOSITORY commit A commit is needed to put local changes into the central server. This is needed if you locally did a meaningfull … modification deletetion addition move rename Each action is indicated with a unique icon in your windows explorer Non-meaningfull modifications (e.g. tests) can be reverted (undo all local changes). folders files

REPOSITORY commit up to date modified

REPOSITORY commit Always put a small remark to describe to comunity members what you modified (“did a lot” is not specific enough).

commit central database: repos.deltares.nl local copy D:\ E:\ F:\ REPOSITORY update delete add copy update browse checkout

REPOSITORY update Get updates from others from the server to your local copy. Do this regular to benefit from improvements. For active OpenEarthTools use: daily! Always do this before a commit.

REPOSITORY update

REPOSITORY statistics DATA: > 1350 commits! > 60 active users TOOLS: > 3000 commits! > 60 active users > 200 aanvragen

commit central database: repos.deltares.nl local copy D:\ E:\ F:\ REPOSITORY add delete add copy update browse checkout

REPOSITORY add a raw dataset There are 2 copies of 1 file on your PC: Visible working copy, for editing Hidden shadow copy, to detect changes Before adding a file to the server, a shadow copy must be created. Allows for offline working

REPOSITORY add a raw dataset Now the addition must be simply be committed as any change

REPOSITORY add a raw dataset OpenEarthRawData is very big: don’t make a full checkout To add a thing, first make an empty checkout of the destination.

commit central database: repos.deltares.nl local copy D:\ E:\ F:\ REPOSITORY delete delete add copy update browse checkout

REPOSITORY add a raw dataset There are 2 copies of 1 file on your PC: Visible working copy, for editing Hidden shadow copy, to detect changes When deleting a file on the server, your shadow copy be informed Allows for working offline

REPOSITORY add a raw dataset Now the deletion must be simply be committed as any change

commit central database: repos.deltares.nl local copy D:\ E:\ F:\ REPOSITORY copy delete add copy update browse checkout

REPOSITORY copy Again: first inform shadow copy locally, then commit to server … Drag with right-mouse button

OpenEarthTools Tools are stored under Tools are stored per language Matlab has main activity but Python and R toolbox are starting to grow now.

OpenEarthTools: Matlab: start The Matlab toolbox has to be added to your matlab path Do not use addpath >This wil also add all hidden (.svn) directories (a Matlab bug) >This does not add the required JAVA paths (netCDF-4) Run oetsettings.m instead You have to do this every time you start Matlab So it’s easier to make a shortcut button this, right-mouse click on the shortcuts toolbar to add one

OpenEarthTools: Matlab: help You can find the available Matlab tools the same way to you find official Matlab tools using use help, doc or lookfor >> help oetsettings >> doc googleplot >> lookfor convertcoordinates

OpenEarthTools: Matlab: example

OpenEarthRawData Raw data are stored under Data are stored with copyright holder as main directory. This allows copyright holders to maintain their own data copyright holders to shift easily from private to open source users to identify whom to acknowlegde Data should also contain dedicated processing scripts (if not in OpenEarthTools) url file to web source INSPIRE XML meta-data file

OpenEarthModels Raw data are stored under Model input schematisations are stored with copyright holder as main directory. This allows copyright holders to maintain their own data copyright holders to shift easily from private to open source users to identify whom to acknowlegde

Exercise The repository is supposed to be working anytime Do not play with the actual repository All advanced users will by annoyed by this But then, how I can I learn how to work with it? Solution: use the sandbox Play around at the highest level as much as you like And clean up afterwards (delete) With your browser: Now delete the addition you made in And check the log file, to see what colleagues did.

workflow

netCDF/OPeNDAP netCDF OPeNDAP

netCDF/OPeNDAP how to use: opendap.deltares.nl:

Google Earth

how to use: kml.deltares.nl: