Skip to content

Commit

Permalink
[antlir2][snapshot] remove offline from RepoInfo provider
Browse files Browse the repository at this point in the history
Summary:
This is never used. The subtarget is still useful for local testing, but it
doesn't need to be on the provider

Test Plan: testhard

Reviewed By: justintrudell

Differential Revision: D67980782

fbshipit-source-id: 536e16f7bdf8ed08557b4846fbca83e1c9da29de
  • Loading branch information
vmagro authored and facebook-github-bot committed Jan 9, 2025
1 parent de9ddad commit fe790fc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions antlir/antlir2/package_managers/dnf/rules/repo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ RepoInfo = provider(fields = [
"dnf_conf_json", # JSON serialized dnf.conf KV for this repo
"gpg_keys", # Optional artifact against which signatures will be checked
"id", # Repo name
"offline", # Complete offline archive of repodata and all RPMs
"repodata", # Populated repodata/ directory
])

Expand Down Expand Up @@ -89,7 +88,6 @@ def _impl(ctx: AnalysisContext) -> list[Provider]:
logical_id = ctx.attrs.logical_id,
repodata = repodata,
gpg_keys = ctx.attrs.gpg_keys,
offline = offline,
base_url = ctx.attrs.base_url,
all_rpms = rpm_infos,
dnf_conf_json = dnf_conf_json,
Expand Down

0 comments on commit fe790fc

Please sign in to comment.