background preloader

Source Control

Facebook Twitter

Keep your build artifacts in the repository – James Fisher – Medium. After your CI server builds your product, what does it do with the build artifacts?

Keep your build artifacts in the repository – James Fisher – Medium

In my experience, it stores them on a disk somewhere, using some ad-hoc version scheme to distinguish between different builds. It might also publish them to some artifact server, which again uses some ad-hoc version scheme to allow users and developers to download different versions. I suggest that the CI server should instead use a repository for versioning and distribution of build artifacts. Specifically, it should do something like this: Check out source: git checkout e3125fa.Run build system: . The advantages of this approach are several: Easy checkout of builds. (Really, I’m just re-hashing the advantages of git, but applied to build artifacts rather than build sources. ‘I was told not to commit build artifacts!’ Yeah. What I’m suggesting is only a slight variant of this scheme, but it does not suffer from the problems associated with it.

‘But my artifact is just a big binary blob!’ No it isn’t. Git - petit guide - no deep shit! Git - petit guide juste un petit guide pour bien démarrer avec git. no deep shit ;) par Roger Dudler (translation by KokaKiwi) Remerciements à @tfnico, @fhd, Namics this guide in english, deutsch, español, indonesian, italiano, nederlands, polski, português, русский, türkçe, မြန်မာ, 日本語, 中文, 한국어 installation Télécharger git pour Mac OSX Télécharger git pour Windows Télécharger git pour Linux créer un nouveau dépôt créez un nouveau dossier, ouvrez le et exécutez la commande git init pour créer un nouveau dépôt. cloner un dépôt créez une copie de votre dépôt local en exécutant la commande git clone /path/to/repository si vous utilisez un serveur distant, cette commande sera git clone username@host:/path/to/repository arbres ajouter & valider.

git - petit guide - no deep shit!

Git Workflows and Tutorials. The array of possible workflows can make it hard to know where to begin when implementing Git in the workplace.

Git Workflows and Tutorials

This page provides a starting point by surveying the most common Git workflows for enterprise teams. As you read through, remember that these workflows are designed to be guidelines rather than concrete rules. We want to show you what’s possible, so you can mix and match aspects from different workflows to suit your individual needs. Centralized Workflow Transitioning to a distributed version control system may seem like a daunting task, but you don’t have to change your existing workflow to take advantage of Git. However, using Git to power your development workflow presents a few advantages over SVN. Second, it gives you access to Git’s robust branching and merging model. How It Works Like Subversion, the Centralized Workflow uses a central repository to serve as the single point-of-entry for all changes to the project. Developers start by cloning the central repository. KB Article: Useful Queries for TRACK2SQL. There are several ways to track various server problems using TRACK2SQL, and this article discusses some of the most common queries you might use.

KB Article: Useful Queries for TRACK2SQL

Times returned by these queries are in milliseconds. Process IO Consumption The following SQL statement returns user, command and "IO used", to show which processes consumed the most IO. SELECT user,cmd,SUM(pagesIn+pagesOut) as io FROM tableUse JOIN process USING ( processKey) GROUP BY tableUse.processKey ORDER BY io DESC LIMIT 25; Example Output from this SQL statement: Longest Compute Phase The following SQL statement returns a list of users, commands, and the length of the compute phase to show which processes had the longest compute phase: SELECT user,cmd, MAX(readHeld+writeHeld)-MAX(readWait+writeWait) as compute FROM tableUse JOIN process USING (processKey) GROUP BY tableUse.processKey ORDER BY compute DESC LIMIT 25; Example output from the SQL statement.

Average Wait Time SELECT AVG(readWait+writeWait) as wait FROM tableUse; Read/Write Percentage. Working with Subversion on OS X behind a Proxy. Help Center. Perforce Administration: Optimization, Scalability, Availability an... List of revision control software. This is a list of notable software for revision control. Local data model[edit] In the local-only approach, all developers must use the same computer system. These software often manage single files individually and are largely replaced or embedded within newer software. Open source[edit] Client-server model[edit] In the client-server model, developers use a shared single repository. Open source[edit] Proprietary[edit] Distributed model[edit] In the distributed approach, each developer works directly with his or her own local repository, and changes are shared between repositories as a separate step. Open source[edit] Proprietary[edit] BitKeeper – was used in Linux kernel development (2002 – April 2005)Code Co-op – peer-to-peer version control system (can use e-mail for synchronization)Sun WorkShop TeamWare – designed by Larry McVoy, creator of BitKeeperPlastic SCM – by Codice Software, Inc.

Perforce.