r/programming • • Feb 06 '15

Git 2.3 has been released

https://github.com/blog/1957-git-2-3-has-been-released
622 Upvotes

307 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Feb 06 '15

[deleted]

18

u/c0bra51 Feb 06 '15

Actually, it's on 1.9.1 for stable (via backports), and 2.1.4 for jessie and above (which is very soon to be the new stable).

→ More replies (4)

6

u/the_omega99 Feb 06 '15

The topic of packages is one part of Linux I don't have much experience with. Could some else explain why the apt-get packages are frequently very outdated? I can understand not having the absolute latest version and not wanting to update immediately, but being months behind seems like a terrible idea.

8

u/nycerine Feb 06 '15

Basically there are different ways to solve the problem, but as users install one version of a distribution, packages available for that version are built towards the libraries and other packages available.

Thus, any new updates to a package will impact all users that have version x of the system--without them necessarily wanting undesired changes--as well as potentially being dependant on newer libraries and other system packages. These dependencies can in some cases make it tricky to update just one package, as it'll require more -- and then you might want to test all of these packages to make sure everything else dependant on the same thing is still equally stable.

There are other approaches, like rolling distributions, but here you are aware of the risks and responsibilities you have as a user if you wish to keep your system stable.

26

u/Sean1708 Feb 06 '15

Then there's ArchLinux's philosophy:

You'll get the latest release and you'll fucking like it!

8

u/nycerine Feb 06 '15

Yip, that's the rolling release where you just have to keep your hat on, adapt to the changes -- or get the hell off the boat!

4

u/yur_mom Feb 06 '15

Do people use Arch for anything but dev boxes? I can not imagine running a production server in this environment.

8

u/Tblue Feb 06 '15

I use it at home because it's fun and has the latest stuff. Never would use it for a server, though. For those and my own machine at work I like to use Debian Stable, although we use Ubuntu Server LTS at work.

4

u/yur_mom Feb 06 '15

Yeah, I use Debian, Centos, or Ubuntu Server LTS.

Arch seems interesting for development, but sounds scary from a deployment standpoint. Even for a dev box it could get annoying to constantly worry about packages changing.

→ More replies (2)

5

u/[deleted] Feb 07 '15

I use it at home. Usually it's great!

But occasionally something will randomly break, and it'll just drive you nuts.

One day I found that the touchpad on my laptop just wouldn't work. Another time I updated the kernel, and found that sound no longer worked at all.

I have been using it for over five years, and not had many problems, nor can I even claim that I have had fewer than when I upgraded between different Fedora versions... But upgrading a distro like fedora, you are prepared for something to break. With a rolling release, you never know when it may come.

All things considered though, I love it. At my job they have CentOS 6, where the system python is 2.6. The system tar doesn't understand what an xzip file is.

I vastly prefer Arch to that, although it is more stable, which is nice as a sysadmin.

→ More replies (1)
→ More replies (8)
→ More replies (1)

6

u/adrian17 Feb 06 '15

There's a thing I've been wondering about for some time... isn't this "you can't update an package because that would require newer versions of library dependencies, which would require updates to other packages that rely on them..." approach an equivalent of an "DLL Hell" in Windows, if not worse?

→ More replies (4)
→ More replies (1)

5

u/Rhomboid Feb 06 '15

In the case of Debian-stable, the whole point of it is that it doesn't change, except for fixes for security vulnerabilities and serious bugs, which get backported. New versions mean new features that might affect how your server functions, and require manual testing and recertification, which can be a lot of work. In an environment where you have a working server, you generally don't want to change anything unless you have to.

Taken to the extreme, consider RHEL. Their support lifetimes are enormous. RHEL4 for example shipped in February 2005, and is available under Extended Lifecycle support (at extra cost) until March 2017. There are companies that will conceivably be using gcc 3.4, Python 2.3, PHP 4.3, Apache 2.0, etc. in 2017 because those are all what were current when the distribution was stabilized leading up to that February 2005 release. The current release, RHEL7, will likely be available under Extended Lifecycle support until at least 2027, possibly later. (The official end of production is ten years after release, which is June 2024, and then after that for paying customers the extended phase has generally lasted 3 to 5 years.)

→ More replies (2)

4

u/Carr0t Feb 06 '15

Generally speaking, if you're running a whole load of servers you don't want to have to test every single package that comes out to ensure it still works nicely with your configuration files, maintains backwards compatibility etc before updating. Debian (and to a slightly lesser extent Ubuntu) do this in the main repositories by basically locking packages to whatever the most recent tested version is at the time of that version of the OS being released. They do take any security updates and backport them to these earlier releases (while the OS itself is still supported), so that you're not running insecure software, but you won't get any significant new features and such until a newer version of the OS comes out, because they can't guarantee backwards compatibility between major release versions. It does mean, however, that you can pretty safely run an apt-get upgrade and not break stuff.

If you're not using the official distribution repositories, of course, anything goes. I run a network monitoring system called OpenNMS. It is available in the official repos, but it's an ancient version, and I needed newer features. So I have a repo configured that is run by the OpenNMS developers themselves. They test and run on older (but still supported) versions of Debian and Ubuntu, so I know it'll work, but I do have to check all the release notes and edit configuration files pretty much every time I do an update.

→ More replies (3)

13

u/gnuvince Feb 06 '15

And that's the way I like it!

Seriously, have there been any significant changes for someone like me who mostly just commits/pushes/pulls and plays with only 1-2 parallel branches?

31

u/Chris_Newton Feb 06 '15

In terms of features, if you’re happy with what you’ve got then there doesn’t seem to be a need to update.

Do be aware of recent security issues and make sure you’re patched against those, though.

10

u/kkus Feb 06 '15

Only affects NTFS and HFS+ as far as I know. Debian is unaffected.

28

u/nemec Feb 06 '15

I only run Debian on NTFS /s

10

u/[deleted] Feb 06 '15

Your actually safe. NTFS uses capitalization but the windows virtual file system ignores this. So NTFS on linux shouldn't exhibit the same error NTFS on windows does.

3

u/SemiNormal Feb 06 '15

If you did, you would probably never notice the difference. Unless you like to use * or ? in your file names.

17

u/galaktos Feb 06 '15

Well, I enjoy writing @ instead of HEAD, for example. It sounds minor, but it’s really quite pleasant, and I imagine I’d be annoyed if I had to go back to a version without it.

3

u/alexeyr Feb 06 '15

How did I miss this?!

15

u/Hobofan94 Feb 06 '15

Some changes in default push behaviour, so not really.

8

u/EU_Peaceful_Power Feb 06 '15

I got colored outputs after a recent update!

3

u/jeorgen Feb 06 '15

You can use sub modules in a fruitful way if you’re on git 1.8.2 or later. Very useful when you have repository whose code is used in more than one of your other development projects.

→ More replies (4)
→ More replies (3)