Ticket #980 (closed enhancement: fixed)

Opened 10 years ago

Last modified 9 years ago

group-name annotions for recommendations/suggestions

Reported by: zlin Owned by:
Priority: Sometime Milestone: EAPI exheres-0
Component: clients/cave Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Exherbo

Description (last modified by zlin) (diff)

So you can have things like:

DEPENDENCIES="
    suggestion:
        ( cat/A cat/B cat/C ) [[
            description = [ Dependency for send-email ]
            group-name = [ send-email ]
        ]]
"

Which cave resolve then shows grouped and which lets the user do --take send-email or --ignore send-email to take all of A, B and C or none of them.

Change History

comment:1 Changed 10 years ago by zlin

  • Description modified (diff)

comment:2 follow-up: ↓ 3 Changed 10 years ago by ciaranm

What if the annotation is applied to the label?

DEPENDENCIES="
    suggestion: [[ group-name = [ send-email ] ]]
        cat/A [[ description = [ Dependency for send-email ] ]]
        cat/B [[ description = [ Dependency for send-email, for SSL ] ]]
        cat/C [[ description = [ Dependency for send-email, for IMAP ] ]]

    suggestion:
        cat/other [[ description = [ Unrelated suggestion ] ]]
"

comment:3 in reply to: ↑ 2 Changed 10 years ago by zlin

Replying to ciaranm:

What if the annotation is applied to the label?

I don't really like it. Doesn't seem very logical to me from an exheres writer perspective.

comment:4 Changed 9 years ago by ciaranm

Sticking it on the ( ) gets very messy, since you can end up with multiple group names on a single dep. I think it's best if we'll start with the annotation going on each individual dep, and if that gets too painful, we can extend it.

comment:5 Changed 9 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.