stardog vcs tag Manual Page


stardog vcs tag —List, create, or delete tags. The existing tags will be listed unless --create or --drop options are provided.


stardog [ --krb5 ] [ --krb5-disable-rdns ]vcs tag [ --create <mCreate> ] [ --drop <mDrop> ] [ {-p | --passwd} <password> ] [ {-P | --ask-password} ] [ {-u | --username} <username> ] [ {-v | --verbose} ] [ --version <version> ] [--] <database>


--create <mCreate>
Creates a new tag with the given name. The current (latest) version will be tagged unless --version option is provided.
--drop <mDrop>
Drops the tag with given name.
Use the Kerberos environment.
Disable reverse DNS lookup for Kerberos clients.
-p <password>, --passwd <password>
-P, --ask-password
Prompt for password.
-u <username>, --username <username>
User name.
-v, --verbose
Verbose flag that causes more detailed information to be printed
--version <version>
The version that will be tagged.
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
The name of the database or the full connection string of the database to connect to. If only the name is provided, the default server URL will be pre-pended to the name of the database in order to construct the connection string. Connection parameters such as ';reasoning=true' can be included in the provided database name. Connection parameters specified like this can be overridden by specific options on the command. The default server URL will be read from the JVM argument 'stardog.default.cli.server'. If the JVM argument is not set, the default value 'http://localhost:5820' is used. If the server URL has no explicit port value, the default port value '5820' is used. To use a secure connection, you should specify the full connection string and postfix 's' to the protocol, e.g. https.


Lists the existing tags in a database

    $ stardog vcs tag myDb

Lists the existing tags in a database in verbose mode

    $ stardog vcs tag --verbose myDb

Tags the current (latest) version of the database

    $ stardog vcs tag --create v1.0 myDb

Tags a specific version of the database

    $ stardog vcs tag --create v1.0 --version daf57e75-5cbf-453d-808c-7b83c189bb22 myDb

Drops the specified tag. Only the tag information is

    $ stardog vcs tag --drop v1.0 myDb