Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [package-managers]

The tag has no usage guidance.

66
votes
9answers
15k views

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 ...
0
votes
3answers
6k views

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....
1
vote
2answers
222 views

Package manager: depth first search or breadth first search?

I'm just starting to look at understanding the graph data structure and the breadth first search and depth first search algorithms. For a package manager like npm, where one package might have ...
1
vote
2answers
522 views

Major version number as part of package name / namespace?

Background In a software ecosystem where different packages depend on different versions of other packages, sometimes dependency resolution ends in a version conflict. Example: Root package A ...
4
votes
1answer
186 views

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 ...
0
votes
1answer
96 views

Can Package Manager be considered as an architectural solution

My client has a super Spaghetti codebase structure. Single solution with some hundreds projects in that solution, which are tightly coupled. They think that just using a package manager (like NuGet) ...
1
vote
1answer
197 views

How to handle optional dependencies in php?

At my Job I'm currently on refactoring a very old php CMS. By now, "code handling" was done by simply copying the whole thing and modify it to fit whatever was needed for this job to be done (actually ...
6
votes
1answer
901 views

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/...
5
votes
0answers
478 views

Keeping a permanent git fork updated [closed]

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 ...
3
votes
1answer
488 views

Bower, NPM, Gulp in ASP.NET MVC, what problem am I solving? [closed]

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 ...
1
vote
2answers
91 views

Deploy a website via apt/yum to different environments without rebuilding for each?

I want to setup a continuous integration pipeline for the first time. I have a website that includes a config file that points to MySQL and Redis. I would like to build a package once and then deploy ...
1
vote
0answers
184 views

Separate Version Control repository as Binary Package repository?

(( The context I have is, but is I think not too important to this question: Windows only development; Visual Studio; mostly C++ with some .NET/C# )) (I think that) Binaries should go into Version ...
0
votes
2answers
147 views

SOA: Make each level of a service stack a package (NuGet etc.)?

Say I have a service that has the following hierarchy: Controller Business Logic Data Adapter All of these make up a service that presents an HTTP API that can be used by other services. Together ...
3
votes
1answer
108 views

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 ...
1
vote
0answers
168 views

Managing customer-specific modules in a composer/PHP-based SaaS

I'm developing a business-to-business SaaS. I expect that most of my customers will be able to use my mainline product, and I intend to deploy it in an independent instance for each customer. Some ...
33
votes
8answers
9k views

Why don't developers make installation wizards on linux? [closed]

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-...
3
votes
2answers
348 views

Has anyone nailed dependency management? [closed]

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 ...
5
votes
2answers
266 views

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 ...
9
votes
6answers
1k views

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 ...
0
votes
1answer
2k views

Deleting Old Nuget Package Folders after upgrading

Should you delete the old Nuget package files/folders under the packages directory after you upgrade a package? Maybe I'm just being overly picky, but seeing files/folder for older package versions ...
18
votes
3answers
8k views

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 ...
0
votes
1answer
60 views

Do any package managers provide select-one dependencies [closed]

With jquery very slowly being phased out you get into more and more situations where library X will run with either jquery or zepto.js (but at least one is required). No package managers that I can ...
2
votes
1answer
149 views

How are open source repositories managed for popular languages?

I'm a developer that creates Open Source code for a small language (LabVIEW), and am currently sharing this in several places. The vendor of LabVIEW has a certification process for Open Source ...
9
votes
7answers
554 views

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 ...