Skip to content

Get rid of modules.json and use the artifact from the source-bugzilla-info task instead #180

Open

Description

@willkg

The current modules.json file is 4 years old. It needs to be updated. I couldn't figure out how it was generated in the first place, so it's unclear how to update it. Further, this module should be updated on a regular basis.

How was modules.json generated?

Is there a better source for this information? Could it or something like it be generated from moz.build files in mozilla-central and parked somewhere?

Activity

  1. marco-c commented on Oct 9, 2020

    @marco-c
    Collaborator

    The current modules.json file is 4 years old. It needs to be updated. I couldn't figure out how it was generated in the first place, so it's unclear how to update it. Further, this module should be updated on a regular basis.

    How was modules.json generated?

    It was generated using a script from https://wiki.mozilla.org/. But the wiki itself is not updated, so even if we wanted, it doesn't make sense to update it. We should just get rid of it instead.

    Is there a better source for this information? Could it or something like it be generated from moz.build files in mozilla-central and parked somewhere?

    Yes, the alternative, and better way, to handle this is to use the components.json artifact from the source-bugzilla-info task, that is https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.source.source-bugzilla-info/artifacts/public/components.json. This task does exactly what you described ;)

  2. changed the title [-]update modules.json data[/-] [+]Get rid of modules.json and use the artifact from the source-bugzilla-info task instead[/+] on Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions