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

Adapt @graknlabs_bazel_distribution to @rules_pkg #181

Merged
merged 1 commit into from
Sep 18, 2019
Merged

Adapt @graknlabs_bazel_distribution to @rules_pkg #181

merged 1 commit into from
Sep 18, 2019

Conversation

vmax
Copy link
Contributor

@vmax vmax commented Sep 18, 2019

What is the goal of this PR?

Reduce potential tech debt and allow further upgrade to Bazel 0.29.1 and Python 3 by no longer using built-in obsolete pkg_deb/pkg_rpm/pkg_tar rules

What are the changes implemented in this PR?

  • common/java_deps.bzl :depset is no longer iterable in bazel 0.29.1 [--incompatible_depset_is_not_iterable=true by default], therefore we have to first convert it into a list
  • add reference to bazelbuild_rules_pkg which now provide now-deprecated pkg_deb/pkg_rpm/pkg_tar
  • remove apt/pkg_deb_modified_from_bazel package since it's no longer needed
  • rename github_dependencies_for_deployment to tcnksm_ghr for macros to have consistent naming
  • add default release to RPM targets (it's now a required attribute)
  • chore: regenerate docs

@vmax vmax added the build label Sep 18, 2019
@vmax vmax requested a review from lolski September 18, 2019 13:23
@vmax vmax merged commit d4a7864 into typedb:master Sep 18, 2019
@vmax vmax deleted the rules-pkg branch September 18, 2019 13:26
haikalpribadi pushed a commit to typedb/typedb that referenced this pull request Sep 18, 2019
## What is the goal of this PR?

Newest changes in `bazel-distribution` (typedb/bazel-distribution#181) are backwards-incompatible.

## What are the changes implemented in this PR?

- Bump `@graknlabs_build_tools`'s version
- Uses workspace macros from most recent `bazel-distribution` version
- Remove Grakn Core archive after unpacking in RPM spec file
haikalpribadi pushed a commit to typedb/typedb-driver that referenced this pull request Sep 18, 2019
## What is the goal of this PR?

Newest changes in `bazel-distribution` (typedb/bazel-distribution#181) are backwards-incompatible.

## What are the changes implemented in this PR?

- Bump `@graknlabs_build_tools`'s version
- Uses workspace macros from most recent `bazel-distribution` version
vmax added a commit to typedb/typedb-driver-nodejs that referenced this pull request Sep 18, 2019
## What is the goal of this PR?

Newest changes in `bazel-distribution` (typedb/bazel-distribution#181) are backwards-incompatible.

## What are the changes implemented in this PR?

- Bump `@graknlabs_build_tools`'s version
- Uses workspace macros from most recent `bazel-distribution` version
vmax added a commit to typedb/typedb-driver-python that referenced this pull request Sep 18, 2019
## What is the goal of this PR?

Newest changes in `bazel-distribution` (typedb/bazel-distribution#181) are backwards-incompatible.

## What are the changes implemented in this PR?

- Bump `@graknlabs_build_tools`'s version
- Uses workspace macros from most recent `bazel-distribution` version
vmax added a commit to typedb/typedb-protocol that referenced this pull request Sep 18, 2019
## What is the goal of this PR?

Newest changes in `bazel-distribution` (typedb/bazel-distribution#181) are backwards-incompatible.

## What are the changes implemented in this PR?

- Uses workspace macros from most recent `bazel-distribution` version
haikalpribadi pushed a commit to typedb/typeql that referenced this pull request Sep 19, 2019
## What is the goal of this PR?

Newest changes in `bazel-distribution` (typedb/bazel-distribution#181) are backwards-incompatible.

## What are the changes implemented in this PR?

Use workspace macros from most recent `bazel-distribution` version
vmax added a commit to typedb/typedb-studio that referenced this pull request Sep 23, 2019
## What is the goal of this PR?

Newest changes in `bazel-distribution` (typedb/bazel-distribution#181) are backwards-incompatible and cause CI to fail.

## What are the changes implemented in this PR?

- Bump `@graknlabs_build_tools`'s version
- Uses workspace macros from most recent `bazel-distribution` version
- Load `common` and `console` as they are needed to build `grakn-core-all` distribution used in tests
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