News for hackers. Stuff that matters.
Re:A response about dep and vgo by kenhwang on Friday July 27, 2018 @06:06PM (#17629827)
I'm still mind-boggled by the crusade against the lockfile. It's a completely unambiguous source for everything that costs essentially nothing, why is there so much time and energy devoted to getting rid of it? Especially with all the drawbacks minimal version selection comes with; exact version selection with the lockfile seems better in just about every case.
Re:A response about dep and vgo by Athas on Friday July 27, 2018 @06:11PM (#17629866)
I don't think the lockfile is a big problem (and I don't have enough experience with lockfile-based systems), but if you already have some other file that can serve the same purpose, isn't that nicer than having two? It also means you don't have to be confused about whether lockfiles should be committed to version control (apparently the answer is "not always", which is counter-intuitive to me).
Re:A response about dep and vgo by bostonvaulter2 on Friday July 27, 2018 @08:15PM (#17630622)
When are you not supposed to commit a lockfile? I think the norm is to commit it.
Re:A response about dep and vgo by eridius on Friday July 27, 2018 @08:27PM (#17630685)
You're supposed to commit it for applications, but omit it for libraries. Libraries declare the versions they're compatible with but they don't lock to specific releases.
Re:A response about dep and vgo by skybrian on Friday July 27, 2018 @11:06PM (#17631291)
In at least some packaging systems, committing the lock file for a library is useful so that the library maintainers use the same versions. (It's ignored by users of the library.)
Re:A response about dep and vgo by e12e on Sunday July 29, 2018 @12:45AM (#17636554)
I had some experience with plone (and zope) - big, early python projects that formed a lot of the basis for package management and infrastructure for python.

The "known good set" of packages as used by buildout for any given plone version were not really easy to work with.

See eg:

https://docs.plone.org/4/en/manage/troubleshooting/buildout....

Which points to things like: http://dist.plone.org/release/3.3.5/versions.cfg

Which aren't that much worse/better than a gemfile.lock for a rails project, I guess.

Now, I guess the better answer is to have smaller projects, with different interfaces (eg: don't give all modulles/parts access to your zodb object database, have a ome json/rest interfaces etc).

But apparently there are still many "big systems" being built.