Skip to content

pkgdev commit: when treecleaning, modify package.mask to drop corresponding line(s) #34

Open

Description

@thesamesam

I often end up manually modifying package.mask to stage the removal of a specific package's mask line to include it in the treeclean commit for said package to allow easier reverts and preserve atomicity.

pkgdev commit could drop corresponding lines in package.mask automatically if we detect we're tree cleaning a package.

Possible duplicate/related to #6 which involves us agreeing within Gentoo on a standard format for mask messages.

Activity

  1. radhermit commented on Mar 24, 2021

    @radhermit
    Contributor

    With the current mask file parsing now available this is relatively simple to do.

    However I'd also want to move the parsing support to pkgcore or pkgcheck and enable pkgcheck support for flagging parse failures first which sort of requires a more documented format to be standardized. Otherwise pkgdev/pkgcheck users will probably be incessantly fighting with people manually editing the files.

  2. thesamesam commented on Dec 14, 2021

    @thesamesam
    MemberAuthor

    I think we'd be better off just standardising the format, yeah. See e.g. ciaranm's old rant.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions