VirtualTam's bookmarks

  1. Discussion de fond sur l'auto-hébergement de code source via Git :

    • mise en place d'une interface d'administration web,
    • fonctionnalités couvertes : granularité des droits, CI, wiki,
    • simplicité d'utilisation,
    • réactivité,
    • interactivité avec la communauté / cadre d'utilisation.
  2. Uses a project or repository's history to plot user contributions, displaying an elegant, colored graph of the file arborescence.

    After running it on quite different projects...

    • Python/Bash CI/Jenkins scripts
    • Qt apps: GoldenDict, Psi+
    • PHP website: Shaarli

    ...watching some vids on teh intartubez:

    It allows to arbitrary spot some interesting implementation aspects (sorted by descending impact):

    • language-dependent trees (oh hai Java packages ^^)
    • framework-dependent trees
    • project-management method (none, Agile, TDD)

    Having a graphical tool also quickly shows:

    • the overall structure of the project (a bit cooler than a simple $ tree, way quicker than loading the project on an IDE)
    • the repartition of files (by extensions)
    • who are the most active contributors
    • what are the most modified files over time
    • who does what: additions, deletions, refactoring

    Some more CI-related matters:

    • are there any tests?
    • what is the source code / test code ratio? (we could expect a project/lib with N modules to have at least N test modules)
    • who initiates / implements / optimizes test code?
  3.  1# first, clone the repository
     2git clone REPO REPO2
     3cd REPO2
     4# remove all unneeded files from this version
     5git filter-branch -f --prune-empty --index-filter "git rm --cached --ignore-unmatch FILES_AND_DIRS_TO_DELETE"
     6git gc --aggressive --prune=1day
     7git fsck --unreachable
     8# refresh the remote
     9git remote rm origin
    10git remote add origin ssh://HOST/REPO
    11# broforce push!
    12git push -f origin master
    13
    14# cleanup our original repository
    15cd REPO
    16git filter-branch -f --prune-empty --index-filter "git rm --cached --ignore-unmatch OTHER_FILES_AND_DIRS_TO_DELETE"
    17git gc --aggressive --prune=1day
    18git fsck --unreachable
    19# broforce push!
    20git push -f origin master
    
  4. Entropy is a programming language about giving up control.

  5. 1er commandement: "Du contrôle de version, tu te soucieras" http://s3.media.squarespace.com/production/2129687/19317774/.a/6a00d8341d3df553ef017c330f2ae8970b-pi

    2ème commandement: "avec Git, tu te formeras, sinon sous SVN tu resteras" http://s3.media.squarespace.com/production/2129687/19317774/.a/6a00d8341d3df553ef017743a87369970d-pi

    3ème commandement: "Le merge, tu éviteras tant que faire se peut" http://geekandpoke.typepad.com/geekandpoke/2010/10/being-a-code-made-easy-chapter-1.html

    4ème commandement: "De versionner n'importe quoi, tu t'abstiendras" http://geek-and-poke.com/geekandpoke/2012/11/7/simply-explained.html

    5ème commandement: "Un commit réécrit, tu ne pusheras point" http://geek-and-poke.com/geekandpoke/2014/3/3/end-of-working-day

    6ème commandement: "Avant de tester, tu ne pusheras point" http://geek-and-poke.com/geekandpoke/2013/5/31/finally-its-friday

    7ème commandement: "le 6eme commandement tu appliqueras, ou ton chef te châtiera" http://geek-and-poke.com/geekandpoke/2013/11/24/simply-explained

    8ème commandement: "Tu ne tricheras point" http://geek-and-poke.com/geekandpoke/2013/7/28/tdd

    9ème commandement: ""Des tags tu abuseras" http://geek-and-poke.com/geekandpoke/2013/12/26/games-for-the-real-geeks

    10ème commandement: "Ton Dieu Jenkins tu honoreras et ton salut tu trouveras" http://geek-and-poke.com/geekandpoke/2013/8/10/the-little-miracles

  6. EmulationStation 2014-03-21

    A cross-platform graphical front-end for emulators with controller navigation.