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

Create incompatible flags to remove pkg_deb and pkg_rpm #11219

Closed
wants to merge 11 commits into from

Conversation

aiuto
Copy link
Contributor

@aiuto aiuto commented Apr 24, 2020

Create incompatible flags to remove pkg_deb and pkg_rpm on a different schedule from pkg_tar.
//tools/build_defs/pkg:incompatible_no_build_defs_pkg_deb
//tools/build_defs/pkg:incompatible_no_build_defs_pkg_rpm

The process of removing pkg_tar is blocked on switching from a dummy internal rules_python to the external rules_python, so that may not happen in time for the next major Bazel release.

Splitting removal of deb and rpm packaging rules out let's us flip that flag earlier.

Track removal in #11217 and #11218

schedule from pkg_tar.
   //tools/build_defs/pkg:incompatible_no_build_defs_pkg_deb
   //tools/build_defs/pkg:incompatible_no_build_defs_pkg_rpm

The process of removing pkg_tar is blocked on switching from a dummy
internal rules_python to the external rules_python, so that may not
happen in time for the next incompatible flag flip release.

Splitting removal of  deb and rpm packaging rules out let's us
flip that flag earlier.
@aiuto aiuto requested a review from fweikert April 24, 2020 16:03
@jin jin added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label May 1, 2020
@aiuto
Copy link
Contributor Author

aiuto commented Jul 7, 2020

Ping

@aiuto aiuto changed the title Create incompatible flags to remove pkg_deb and pkg_rpm on a different Create incompatible flags to remove pkg_deb and pkg_rpm Aug 18, 2020
@aiuto
Copy link
Contributor Author

aiuto commented Aug 18, 2020

friendly ping

@philwo
Copy link
Member

philwo commented Sep 23, 2020

Don't see anything problematic with this, so from my side please go ahead.

@aiuto
Copy link
Contributor Author

aiuto commented Sep 24, 2020

I don't think it will help. From looking at the CI scripts, I think this kind of flag will never be used.
bazelisk --migration might, but CI won't detect anything that does not begin with the prefix --incompatible.

@philwo
Copy link
Member

philwo commented Oct 21, 2020

@aiuto Can we close this?

@aiuto
Copy link
Contributor Author

aiuto commented Oct 21, 2020

Yes. I think the best path forward is to simply delete the code without a flag. The version in rules_pkg is still backwards compatible so people can easily migrate to that.

@aiuto aiuto closed this Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants