Skip to the posts
Buffalo's neighborhood journals since 2003 🍀 Patrick Spicy Devil Logan🌭 Sahlen🥨 Weber Spank🥟 Pierogi🐸 Scaj🍺 Labatt Utica Pink Cherio❄️ Snow Murder

paul’s journal

switch to git?

·

I spent the evening moving my surebert repos from svn to git on github. After reading a lot of the git pro book I feel comfortable using it and the speed working with local repos is nice but there are a few things that stress me out.

The one thing that I hate/love is that tags do not actually exist as materialized files. One one hand this saves a ton of space. The repos are an tremendously smalller than in svn. I can export when needed but I liked having all of the tags in a repo for surebert because then I deploy all of the tags separately on the server and let the programmers link by defining the base path in their app. This was so easy before as I would just set the servers to sync the tags directory so that any time new tags were made, they were available immediately on all the servers.

If I like it maybe I will move more of my bizillion repos over. Thanks to the creators of svn2git

💬 5 comments

  1. tinypliny ·

    What are tags? You mean labels for your programs - like categories? I never tag my programs...
  2. paul ·

    Tags are not labels for programs
    . They are basically freezepoints for the source code on a program with labels. The labels could be version numbers that are sequential or names like beefy miracle.

    You should use them.
  3. tinypliny ·

    Why make personal tags? SVN tags them with the revision number. Wouldn't it become rather inconsistent with personal tags after a while - considering the number of iterations a program usually goes through?
  4. paul ·

    The idea with tags is they are freeze points with names that everyone knows. Its much easier to roll back to the version of some component of your app where you knew it was working by name, than to roll back to r 12345. I mean how do you remember that it was working at that revision number unless you write it down. This is essentially writing down working release points. Similar to how you tag other content, its just giving it a name.

    Thing about when you use other people's software, do you just grab some random revision of the trunk? No, you grab a stable release tag.

    Here is the info from the svn red-book :::link::: and here is some info for git tags which are a bit more complicate but also robust :::link:::
  5. tinypliny ·

    Interesting viewpoints. Its funny it's all so systematic in coding but that's what you do in the kitchen, in the lab, at work, everywhere and yet, you don't call it version control. heh, imagine if you had an svn inventory repository for things in your kitchen, how many cucumbers can you save from going bad in that crisper drawer!

💬 Write a comment