What do the *-dev packages in the Linux package repositories actually contain?

The *-dev packages most often contain the headers related to a library’s interface. Next most common are package-config files (*.pc) describing build options and staticly linked libraries. In general, if you want to know the contents of a package you have installed, dpkg -L pkgname will get you that. The apt-file program can tell you … Read more

Maven Snapshot Repository vs Release Repository

Release repositories hold releases and Snapshot repositories hold snapshots. In maven a snapshot is defined as an artifact with a version ending in -SNAPSHOT. When deployed, the snapshot is turned into a timestamp. By definition, snapshots are mutable, releases are immutable. This is why Nexus makes you store them separately because usually you don’t care … Read more

What is the difference between the Data Mapper, Table Data Gateway (Gateway), Data Access Object (DAO) and Repository patterns?

Your example terms; DataMapper, DAO, DataTableGateway and Repository, all have a similar purpose (when I use one, I expect to get back a Customer object), but different intent/meaning and resulting implementation. A Repository “acts like a collection, except with more elaborate querying capability” [Evans, Domain Driven Design] and may be considered as an “objects in … Read more

Can a project have multiple origins?

You can have as many remotes as you want, but you can only have one remote named “origin”. The remote called “origin” is not special in any way, except that it is the default remote created by Git when you clone an existing repository. You can configure a second remote, push to/pull from that remote, … Read more

Transfer git repositories from GitLab to GitHub – can we, how to and pitfalls (if any)?

You can transfer those (simply by adding a remote to a GitHub repo and pushing them) create an empty repo on GitHub git remote add github https://[email protected]/yourLogin/yourRepoName.git git push –mirror github The history will be the same. But you will lose the access control (teams defined in GitLab with specific access rights on your repo) … Read more

Best Practice for Git Repositories with multiple projects in traditional n-tier design

The reason most people advise to do separate repositories is because it separates out changes and change sets. If someone makes a change to the client projects (which you say doesn’t really effect others), there is no reason for someone to update the entire code base. They can simply just get the changes from the … Read more