Using git to get mxCuBE ready to install on your beamlines.

Slides:



Advertisements
Similar presentations
XS - Platform What is XS – Manager ?
Advertisements

BEA Confidential. | 1 Version Control for a Modern World Garrett Rooney, Senior Software Engineer (and Subversion committer), CollabNet Inc. June 2006.
Github. Download & install git   Git bash  Git GUI.
om om GIT - Tips & Tricks / git.dvcs git-tips.com
Software installation Chapter 7. Software installation Numerous software options Usually free Open source Several sources Installation CD Websites sourceforge.net.
Patterns & practices Symposium 2013 Introducing Git version control into your team Mark
European Organization for Nuclear Research Source Control Management Service (Subversion) Brice Copy, Michel Bornand EN-ICE 13 May 2009.
BIT 285: ( Web) Application Programming Lecture 07 : Tuesday, January 27, 2015 Git.
Distributed Version Control. Image stolen from which is really good, go read it.  Old-school version control.
Git. What’s Git? A British swear A Distributed Version Control System Developed in 2005 by Linus Torvalds for use on the Linux Kernel Git Logo by Jason.
Introduction to Version Control with SVN & Git CSC/ECE 517, Fall 2012 Titus Barik & Ed Gehringer, with help from Gaurav.
Mark Recoskie November 14, Agenda  Quick review of value proposition  Review of Warp r1v2 hardware and software  What’s new in Warp 3.0 hardware?
SKA/KAT SPIN Presentation Software Engineering (!?) Robert Crida.
KIT – University of the State of Baden-Württemberg and National Laboratory of the Helmholtz Association STEINBUCH CENTRE FOR COMPUTING - SCC
Business Unit or Product Name © 2007 IBM Corporation Introduction of Autotest Qing Lin.
DTIAtlasBuilder Adrien Kaiser Neuro Image Research and Analysis Laboratories University of North Carolina at Chapel Hill A tool to create an atlas from.
INFSOM-RI Juelich, 10 June 2008 ETICS - Maven From competition, to collaboration.
MAE Continuous Integration Administration guide July 8th, 2013.
Version Control. How do you share code? Discussion.
…using Git/Tortoise Git
Plug-Ins and Add-ons.  Open Source, Free Text Editor  Currently in Beta for Sublime Text 3  Sublime Text 2 is good enough, still supported.
SWEN 302: AGILE METHODS Roma Klapaukh & Alex Potanin.
Test Data Management. Distributed Version Control Meant for source code, not data Local history of source is good –Often modified  interesting history.
Development Environment Matthew Sell, CSSE Student MASS Research Participant, October 2014.
Composer packages Installing and Using Composer, Packagist, Packaging your code Mario Peshev Technical Trainer Software University
Installing CompuCell3D from source Maciej Swat Biocomplexity Institute, Indiana University.
20-May-2003HEPiX Amsterdam EDG Fabric Management on Solaris G. Cancio Melia, L. Cons, Ph. Defert, I. Reguero, J. Pelegrin, P. Poznanski, C. Ungil Presented.
GLite build and integration system Building and Packaging Robert HARAKALY
Firmware - 1 CMS Upgrade Workshop October SLHC CMS Firmware SLHC CMS Firmware Organization, Validation, and Commissioning M. Schulte, University.
Maven for building Java applications By Nalin De Zoysa
Лекция 1 Обзор курса и средств разработки. Система поддержки версий GIT ls -la total.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Installing CUDA, PyCUDA on Ubuntu
Tutorial on setting up Zebra: A Z39.50 Server ARD Prasad DRTC Indian Statistical Institute Bangalore.
GLite build and integration system Building and Packaging Robert HARAKALY
Database & Information Systems Group University of Basel DBIS Group Talk Michael Springmann Distributed Source Code Management in Mercurial.
SCDB Update Michel Jouvin LAL, Orsay March 17, 2010 Quattor Workshop, Thessaloniki.
BIT 285: ( Web) Application Programming Lecture 07 : Tuesday, January 27, 2015 Git.
Template Package  Presented by G.Nagaraju.  What is Template Package?  Why we use Template Package?  Where we use Template Package?  How we create.
Tito Miroslav Suchý Red Hat
GitHub A web-based Git repository hosting service.
Git as a Back Up Tool Yes, No, Maybe?. The Pros Git is well understood (by me) commands,.gitignore, iliminates *.bak files Git is fast (both for back.
Backing up a machine with git
IPCC Inventory Software
Tips for running Classroom Trivia
Fundamentals Sunny Sharma Microsoft
L – Modeling and Simulating Social Systems with MATLAB
CMS DCS: WinCC OA Installation Strategy
Installing Software Part 3
Version Control.
Integration Methodology and Procedures
CSE 374 Programming Concepts & Tools
Transition from git.cern.ch
Version Control System using Git
Version Control Intro to Git(hub) 101 David O’Brien
Git branches and remotes
ALICE-Juniors Meeting
The BLISS Framework 4.
The Websites Team Robert Mayr (robyduck).
IPCC Inventory Software
Getting Started with Git and Bitbucket
Setting up an Eclipse project from a repository on GitHub
Using Github.
Introduction to Git and GitHub
Git Introduction.
Carthage ios 8 onwards Dependency manager that streamlines the process of integrating the libraries into the project.
Git GitHub.
Make EML with r and share on github
Federico Rojas Givaudan ESS Motion Control and Automation Group
Computational Environment Management
Presentation transcript:

Using git to get mxCuBE ready to install on your beamlines

Current situation : how to get mxCuBE ? This is confusing ! SVN repository on http://blissgarden.org RPM packages (blissbuilder/blissinstaller) Files on http://ftp.esrf.eu Even by email (tar.gz !) And also it has problems : Missing dependencies (e.g PyChooch) No examples for XML files Obstacle to any collaboration M. Guijarro / BCU / ISDD – mxCuBE meeting, 22-09-2010

Solutions Let’s stop relying on RPMs (causes problems with binaries on non-ESRF compatible platforms) Let’s use the new forge available for the whole ESRF campus instead of blissgarden.org (maintained by real sysadmins, enhanced reliability) Let’s have a single mxCuBE repository, with all dependencies + XML files examples Let’s use a decentralized RCS (helps people to work on different branches easily, more powerful) … and also : really use the same repository for the ESRF version of mxCuBE ! M. Guijarro / BCU / ISDD – mxCuBE meeting, 22-09-2010

Includes issue tracker, mailing-list, files sharing… The new Forge : http://forge.epn-campus.eu Feel free to register There is a mxCuBE project Includes issue tracker, mailing-list, files sharing… M. Guijarro / BCU / ISDD – mxCuBE meeting, 22-09-2010

Git Repository One single repository for mxCuBE Dependencies are handled as submodules (i.e links to other Git repositories) Please read the Git manual! And keep it under your pillow… mxCuBE mxCuBE.gui HardwareObjects XML examples PyChooch … Bliss Framework Hardware Repository Qub PyMca SpecClient Bricks HW Objects M. Guijarro / BCU / ISDD – mxCuBE meeting, 22-09-2010

How to get it ? (1/2) [guijarro@linguijarro ~]$ cd /tmp 1st step: let’s clone the mxCuBE repository How to get it ? (1/2) [guijarro@linguijarro ~]$ cd /tmp [guijarro@linguijarro tmp]$ git clone git://git.epn-campus.eu/repositories/mxCuBE warning: templates not found /bliss/users/guijarro/tmp/git/git-1.7.0.4/../share/ git-core/templates Initialized empty Git repository in /tmp/mxCuBE/.git/ remote: Counting objects: 265, done. remote: Compressing objects: 100% (154/154), done. remote: Total 265 (delta 121), reused 204 (delta 106) Receiving objects: 100% (265/265), 272.59 KiB, done. Resolving deltas: 100% (121/121), done. [guijarro@linguijarro tmp]$ cd mxCuBE [guijarro@linguijarro mxCuBE]$ git submodule init Submodule 'BlissFramework' (git://git.epn-campus.eu/repositories/BlissFramework) registered for path 'BlissFramework' Submodule 'HardwareRepository' (git://git.epn-campus.eu/repositories/HardwareRepository) registered for path 'HardwareRepository' Submodule 'HardwareRepositoryServer' (git://git.epn-campus.eu/repositories/HardwareRepositoryServer) registered for path 'HardwareRepositoryServer' Submodule 'PyMca' (git://git.epn-campus.eu/repositories/PyMca.git) registered for path 'PyMca' Submodule 'Qub' (git://git.epn-campus.eu/repositories/Qub) registered for path 'Qub' Submodule 'SpecClient' (git://git.epn-campus.eu/repositories/SpecClient) registered for path 'SpecClient‘ [guijarro@linguijarro mxCuBE]$ git submodule update 2nd step: retrieving submodules M. Guijarro / BCU / ISDD – mxCuBE meeting, 22-09-2010

How to get it ? (2/2) 2nd-level submodules need to be initialized and updated mxCuBE Bliss Framework Hardware Repository Qub PyMca SpecClient Bricks HW Objects [guijarro@linguijarro mxCuBE]$ cd BlissFramework [guijarro@linguijarro BlissFramework]$ git submodule init [guijarro@linguijarro BlissFramework]$ git submodule update … [guijarro@linguijarro BlissFramework]$ cd ../HardwareRepository [guijarro@linguijarro HardwareRepository]$ git submodule init [guijarro@linguijarro HardwareRepository]$ git submodule update M. Guijarro / BCU / ISDD – mxCuBE meeting, 22-09-2010

(by default PyChooch.so file will go mxCuBE/lib/python) Getting started (1/2) 0) Pre-requisities: Python 2.5/6/7, PyQt3, PyQwt5, libgsl 1) Compiling & installing PyChooch extension [guijarro@linguijarro mxCuBE]$ cd PyChooch [guijarro@linguijarro PyChooch]$ python setup.py install (by default PyChooch.so file will go mxCuBE/lib/python) 2) Compiling & installing Qub [guijarro@linguijarro mxCuBE]$ cd Qub/CTools [guijarro@linguijarro Qub/CTools]$ python setup.py install install-lib=./lib The following additional steps are required for those extensions: pixmaptools, opencv, qwttools (replace X with the extension name) [guijarro@linguijarro Qub/CTools]$ cd X [guijarro@linguijarro Qub/Ctools/X]$ python configure.py; make [guijarro@linguijarro Qub/Ctools/X]$ cp X.so ../lib/ M. Guijarro / BCU / ISDD – mxCuBE meeting, 22-09-2010

Getting started (2/2) 3) PyMca Now let’s run mxCuBE : [guijarro@linguijarro mxCuBE]$ cd PyMca [guijarro@linguijarro PyMca]$ python setup.py install install-lib=./lib Now let’s run mxCuBE : [guijarro@linguijarro mxCuBE]$ hwrServer --daemon [guijarro@linguijarro mxCuBE]$ mxCuBE M. Guijarro / BCU / ISDD – mxCuBE meeting, 22-09-2010

Thanks for your attention ! That’s all : Thanks for your attention ! Any question ? M. Guijarro / BCU / ISDD – mxCuBE meeting, 22-09-2010