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

simplify options tagging #10974

Merged
merged 4 commits into from
Jan 27, 2020
Merged

simplify options tagging #10974

merged 4 commits into from
Jan 27, 2020

Conversation

jsteemann
Copy link
Contributor

Scope & Purpose

Allow more tags in program options.
Program options can now be annotated with the list of OSes they are supported on, plus the list of arangod components (coordinator, dbserver, agent, single server).
Enterprise companion PR: https://github.com/arangodb/enterprise/pull/384

The extra information can be picked up by our documentation generation process.
Due to the size of the changes, we will not backport this to 3.6 or earlier versions.

  • Strictly new functionality (i.e. a new feature / new option, no need for porting)
  • The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)

Testing & Verification

This change is a trivial rework / code cleanup without any test coverage.

http://172.16.10.101:8080/view/PR/job/arangodb-matrix-pr/8255/

@jsteemann jsteemann added this to the devel milestone Jan 24, 2020
// OS support
builder.add("os", VPackValue(VPackValueType::Array));
if (option.hasFlag(arangodb::options::Flags::OsLinux)) {
builder.add(VPackValue("linux"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize pls.

@jsteemann
Copy link
Contributor Author

@jsteemann jsteemann merged commit e445742 into devel Jan 27, 2020
@jsteemann jsteemann deleted the feature/options-tagging branch January 27, 2020 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants