package com.atlassian.bitbucket.scm.git;

import com.atlassian.bitbucket.request.RequestContext;

/**
 * Collection of constants, specific to either the git protocols or git commands.
 */
public class GitConstants {

    /**
     * {@link RequestContext#addLabel(String) label} associated with a git archive request.
     */
    public static final String LABEL_ARCHIVE = "archive";
    /**
     * {@link RequestContext#addLabel(String) label} associated with a git clone request.
     */
    public static final String LABEL_CLONE = "clone";
    /**
     * {@link RequestContext#addLabel(String) label} associated with a git fetch request.
     */
    public static final String LABEL_FETCH = "fetch";
    /**
     * {@link RequestContext#addLabel(String) label} associated with a git pack negotiation
     * request.
     */
    public static final String LABEL_NEGOTIATION = "negotiation";
    /**
     * {@link RequestContext#addLabel(String) label} associated with a git push request.
     */
    public static final String LABEL_PUSH = "push";
    /**
     * {@link RequestContext#addLabel(String) label} associated with rejected git requests.
     */
    public static final String LABEL_REJECTED = "rejected";
    /**
     * {@link RequestContext#addLabel(String) label} associated with a git ls-remote request.
     */
    public static final String LABEL_REFS = "refs";
    /**
     * {@link RequestContext#addLabel(String) label} associated with a shallow git requests.
     */
    public static final String LABEL_SHALLOW = "shallow";
}
