Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow lookups based on short identifiers #575

Merged
merged 17 commits into from Jan 6, 2016

Commits on Dec 12, 2015

  1. Allow lookups based on short identifiers

    This change introduces the ability to specify identifiers for jobs,
    allocs, evals and nodes on the command line with as little as one
    character, provided that it uniquely identifies the resource. An error
    with the possible results will be provided when the short identifier
    has multiple results.
    iverberk committed Dec 12, 2015
    Configuration menu
    Copy the full SHA
    7ae975e View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2015

  1. Bring up-to-date with master

    iverberk committed Dec 19, 2015
    Configuration menu
    Copy the full SHA
    cec0170 View commit details
    Browse the repository at this point in the history
  2. Short identifiers functionality

    * Use go-memdb prefix indexer for lookups
    * Add Job lookups
    * Update state store with new ByIDPrefix get methods
    * Call new methods when exact lookup fails or is not applicable
    iverberk committed Dec 19, 2015
    Configuration menu
    Copy the full SHA
    91075e1 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2015

  1. Configuration menu
    Copy the full SHA
    bdf4347 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d3bd1b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23bfbbf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d2f1c6 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2015

  1. Bring up-to-date with master

    iverberk committed Dec 21, 2015
    Configuration menu
    Copy the full SHA
    dcecac1 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2015

  1. Bring up-to-date with master

    iverberk committed Dec 22, 2015
    Configuration menu
    Copy the full SHA
    2a809b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1af7c57 View commit details
    Browse the repository at this point in the history
  3. Refactoring

    * Reverted changes to get methods
    * Added prefix query parameter
    * Updated node status to use prefix based searching
    * Fixed tests
    * Removed truncation logic
    iverberk committed Dec 22, 2015
    Configuration menu
    Copy the full SHA
    e89b5af View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2015

  1. Refactoring continued

    * Refactor other cli commands to new design
    * Add PrefixList method to api package
    * Add more tests
    iverberk committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    9057422 View commit details
    Browse the repository at this point in the history
  2. Bring up-to-date with master

    iverberk committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    db82564 View commit details
    Browse the repository at this point in the history
  3. Fix test (due to merge)

    iverberk committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    8218442 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2015

  1. Configuration menu
    Copy the full SHA
    a73aaf1 View commit details
    Browse the repository at this point in the history
  2. Bring up-to-date with master

    iverberk committed Dec 29, 2015
    Configuration menu
    Copy the full SHA
    c65fdc3 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2016

  1. Improvements for short identifiers

    * Fix tests
    * Update documentation
    iverberk committed Jan 6, 2016
    Configuration menu
    Copy the full SHA
    6295108 View commit details
    Browse the repository at this point in the history