Questions tagged [tagging]

Tagging is the act of marking a specific revision in source control with an identifier for future reference.

A tag in source control is essentially an immutable branch, although in practice, many source control systems do not enforce this.

The purpose behind tagging is to make it possible in the future to reference the contents of the repository as it was at a specific point in time. For example, a software release may be tagged. Development continues on the trunk, but the tag is still available to review in case a bug is reported against that version.

25 questions
33
votes
4 answers

When should a commit not be version tagged?

Context: I recently found out about Semantic Versioning, and am trying to determine how to best use it practically for my own projects. Given that semver takes major changes, minor changes, and patches into account for versioning, when should a…
22
votes
13 answers

Should I use non-standard tags in a HTML page for highlighting words?

I would like to know if it's a good practice or legal to use non-standard tags in an HTML page for certain custom purposes. For example: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam consequat, felis sit amet suscipit laoreet,…
rcs20
  • 173
  • 1
  • 8
14
votes
2 answers

Is it bad practice to create a git tag for every successful continous deployed build?

Currently we are using a tag for every build on master which passes CI. This leads to a lot of tags (3-10 per day). The good side is, that those commits are easily human readable, show the version (v.X.Y.ZZZ) which is also shown in the .exe built…
Kevin Streicher
  • 371
  • 1
  • 3
  • 9
12
votes
6 answers

In git, how to do versioning for a dozen libraries all worked at in parallel

We are doing projects, but we reuse a lot of code between the projects and have lots of libraries that contain our common code. As we implement new projects we find more ways to factor out common code and put it into libraries. The libraries depend…
sbi
  • 9,992
  • 6
  • 37
  • 56
10
votes
2 answers

Should you bother with SVN branches if you only ever have one?

If we only work with one branch in Subversion, should we even bother? Can't we just work on the trunk to speed things up? This is how we develop with Subversion: There is a trunk We make a new development branch We develop a new feature on that…
Peter
  • 998
  • 8
  • 20
10
votes
2 answers

Why does Git have tags?

I've read Git branching and tagging best practices and git tagging comments - best practices, but I don't see a direct answer to something I've wondered for a long time: Why does Git have tags? (instead of just branches) They seem to be second-class…
Paul Draper
  • 5,972
  • 3
  • 22
  • 37
10
votes
7 answers

What's the difference between using RDFS/OWL versus XML?

I was wondering what advantages the ontology languages of RDFS/OWL has over using a tagging/markup system (such as http://www.schema.org/) for managing and creating metadata?
9
votes
1 answer

git tagging comments - best practices

I've adopted a tagging system of x.x.x.x, and this works fine. However, you also need to leave a comment with your git tag. I've been using descriptions such as "fixes bug Y" or "feature X", but is this the best sort of comment to be leaving?…
Eva
  • 547
  • 1
  • 5
  • 14
8
votes
1 answer

Database design for tagging system

I'm creating a system where items will have one or more tags. Now there will be an item table that will store each item, and a tags table, that will store all tags used in the system. My question is: What is the best design I can have that will…
Ron
  • 183
  • 1
  • 1
  • 6
7
votes
2 answers

Isn't there a substantial problem with SVN tags?

A common practice for SVN tags is to tag different releases in order to be able to find them with ease later. As I understand it, tagging is the same thing as branching, that is in two cases, it just creates a copy of the trunk in a separate…
Arseni Mourzenko
  • 134,780
  • 31
  • 343
  • 513
7
votes
2 answers

How to model hashtags with nodejs and mongodb

Existing architecture: nodejs server with mongodb backend. I have strings coming in describing images that can have #hashtags in them. I wish to extract the hashtags from the strings, store the hashtags and associate the image with that hashtag. So…
Dave
  • 171
  • 1
  • 1
  • 2
5
votes
2 answers

Tags or specify revision?

At my company, we have your typical svn structure. Each project has branches, tags and trunk. repo -Project A * trunk * branches * tags -Project B * trunk * branches * tags -Project C * trunk * branches * tags -Project D * trunk *…
Andy
  • 2,003
  • 16
  • 22
4
votes
5 answers

How to properly manage bugfixes for released versions in git flow

We follow git flow, see https://nvie.com/posts/a-successful-git-branching-model/ Lets imagine the following situation: We have a current version 2.0.8 on our prod environment. After a while, several bugs appearing that need to be fixed (no hotfixes,…
Jim Panse
  • 338
  • 3
  • 11
4
votes
1 answer

What is the better search system, user defined tags or pre defined attribute fields?

I'm developing a marketplace application that will eventually list a large number of different types of items. Currently our search system (powered by Algolia) is built on pre defined attribute fields that must be filled out by the user when adding…
rt_
  • 161
  • 4
3
votes
2 answers

Is manually tagging content an ideal start for eventual machine learning?

I'm putting together a mobile app that would allow users to search, rate, and upload photos of dishes at restaurants. I have no machine learning experience (just FE/BE/Mobile) so for the time being I was planning on autocompleting search queries…
1
2