Questions tagged [package-managers]
32 questions
69
votes
9 answers
Why prefer a package manager over a library folder?
When I think about the pros and cons of a static library folder and a package manager I feel like the library folder is a better approach.
Pros I see with a library folder:
No need for an external tool to manage packages.
No internet connection…

Ignacio Soler Garcia
- 1,574
- 2
- 11
- 17
43
votes
4 answers
Get license information for all used NuGet packages
To keep our house in order, I want to automatically assemble licenses for project dependencies in our documentation, rather than having to add them manually.
Does anybody know a simple way to traverse programmatically a set of CSPROJ files and…

Byron Ross
- 627
- 1
- 5
- 8
35
votes
8 answers
Why don't developers make installation wizards on linux?
I'm sure it's not about laziness or anything like that but I fail to understand why developers of even mainly consumer facing apps don't make any sort of installation wizard where you go next-next-finish. The same apps usually have installers for…

Arsalan Ahmad
- 491
- 1
- 4
- 6
10
votes
4 answers
Best way to naming classes and packages in Java
Apart of the code conventions to use camelCase, PascalCase etc., are there any conventions for naming packages and classes in Java?
For example, I have an mvc project and the main package is com.myproject. In this package I…

Liz Lamperouge
- 233
- 1
- 2
- 9
9
votes
6 answers
Should a package manager modify your .bashrc file?
I am writing a package for something that requires an environment variable to be set in order to execute properly. Should the install step of a package manager modify a user's environment, or simply prompt the user to do so themselves? My…

David Cowden
- 2,903
- 17
- 23
8
votes
7 answers
Using an Apt Repository for Paid Software Updates
I'm trying to determine a way to distribute software updates for a hosted/on-site web application that may have weekly and/or monthly updates. I don't want the customers who use the on-site product to have to worry about updating it manually I just…

Scott Keck-Warren
- 261
- 1
- 5
6
votes
1 answer
Explicitly fill in requirements.txt for our Python projects?
As a user of pip install package and then pip freeze > requirements.txt, I was surprised to see a requirements.txt like this:
# Flask
# License: BSD
# Upstream url: http://github.com/mitsuhiko/flask/
# Use: For API.
Flask==0.10.1
# Flask Scripting…

Jesvin Jose
- 257
- 1
- 9
5
votes
0 answers
Keeping a permanent git fork updated
Please consider the following scenario:
There is an npm package named some-package.
There are a couple dozen known dependent npm packages that all depend on some-package.
I forked some-package and made a breaking change to its API.
I forked all…

Kelsie
- 167
- 1
5
votes
2 answers
Integrate NuGet Package Restore feature into checkout process
There are some situations where I have no internet connection and so I am forced to work offline. Usually it would look like this: I get connected, do a checkout from source control server, and move out of office.
The NuGet packages stay on the…

dwonisch
- 364
- 3
- 9
4
votes
1 answer
How do package managers generally deal with squatters?
How do package managers deal with packages that use a package name but then abandon it or from rogue package names that are similar that host malware in the hope that an unsuspecting developer will install it? For example:
> gem list -r viewport
***…

Chloe
- 438
- 1
- 3
- 10
3
votes
1 answer
Bower, NPM, Gulp in ASP.NET MVC, what problem am I solving?
I work at a small web development company, and we use no dependency management whatsoever at the frontend side. External libraries are simply downloaded and pasted into the lib folder of whatever website needs them, and our own libraries are happily…

Dennisch
- 141
- 5
3
votes
1 answer
Is there a standard project metadata / dependency file for Python?
In my Node.JS projects, I save my project metadata into package.json: dependencies, version number, author, description, and so on. This makes it so anyone can clone my project and run npm install to create a virtually identical local…

sffc
- 133
- 5
3
votes
2 answers
Has anyone nailed dependency management?
I've used various dependency management tools for installing software: homebrew, cabal, rubygems, etc. Invariably, despite someone's simple instructions for installing their package, there are times when dependencies don't get worked out by the…

Mario T. Lanza
- 1,700
- 1
- 13
- 22
2
votes
0 answers
How to deal with package management when having a monolith broken down in packages?
At our company we have a monolith PHP application which has been broken down into multiple (self developed) packages around the (self developed) framework package.
This application isn’t a SAAS solution, so the application is installed at the…

Erwin Augustijn
- 29
- 2
2
votes
1 answer
Recommended way to setup a python workspace
I have 3 (python) git repositories that I need to work with.
One of them is the top level application (packageA), and the other two (packageB, and packageC) are dependencies of packageA. (Note: none of the 3 are available on PyPI).
I've got a…

COLblindOR
- 37
- 1