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

libjobspec: Initial flux jobspec parser #1201

Merged
merged 6 commits into from Oct 9, 2017
Merged

libjobspec: Initial flux jobspec parser #1201

merged 6 commits into from Oct 9, 2017

Commits on Oct 9, 2017

  1. config: Test for existance of yaml-cpp library

    Add configure test for the C++ yaml-cpp library.
    Include a test for the existance of YAML::Node::Mark(), which
    is only available in yaml-cpp 0.5.3 and later.
    morrone committed Oct 9, 2017
    Copy the full SHA
    b09d882 View commit details
    Browse the repository at this point in the history
  2. travis: Add the libyaml-cpp-dev package to the build

    Add the libyaml-cpp-dev package to the build.  The libyaml-cpp-dev package
    in travis seems to have a missing dependency on the boost library, so we
    request that too.
    morrone committed Oct 9, 2017
    Copy the full SHA
    b5a1154 View commit details
    Browse the repository at this point in the history
  3. libjobspec: Initial flux jobspec parser

    Introduce the first revision of the flux jobspec parser library.  It
    is written in C++ and requires the C++ YAML parsing library name yaml-cpp.
    morrone committed Oct 9, 2017
    Copy the full SHA
    7168970 View commit details
    Browse the repository at this point in the history
  4. cmd: Introduce the flux-jobspec-validate command

    Introduce the flux-jobspec-validate command, the first consumer
    of the jobspec library, which will allow testing in some other commit.
    
    At this point, flux-jobspec-validate is just a rough jobspec validation tool.
    Iti will eventually grow into a full featured command line validation tool
    for flux jobspec files and streams.  For now it just exits and returns
    an error if the jobspec fails to correctly parse by libjobspec.  On
    success, for debugging purposes, it prints out the data again in yaml
    format from its internal data structures.
    morrone committed Oct 9, 2017
    Copy the full SHA
    c221adc View commit details
    Browse the repository at this point in the history
  5. test: Introduce tests of the libjobspec library

    Introduce the t0018-jobspec.t test script which tests
    the libjobspec library using the flux-jobspec-validate command.
    It employs the command on a series of valid and invalid yaml
    files making sure that the files are detected as valid or invalid
    jobspec files.
    morrone committed Oct 9, 2017
    Copy the full SHA
    f584f69 View commit details
    Browse the repository at this point in the history
  6. test: Add the RFC14 examples as libjobspec valid tests

    Take all of the current RFC14 example yaml files and add
    them to the valid jobspec tests directory.
    morrone committed Oct 9, 2017
    Copy the full SHA
    596a13f View commit details
    Browse the repository at this point in the history