Makes the ref a member. Members are a set, so assigning a member again changes nothing. A closed milestone refuses.
Modulenixlab-dsl-0.5.1
NixLab
- 45 types
- 118 values
- Packagenixlab-dsl-0.5.1
- Exports163
- LicenceMIT
- SourceTypes.hs
Idempotent.
title, markdown description, due date: a new open milestone with no members, under the next free id. A blank title is refused.
Rewrites the title, description and due date, closed or open; membership, state, author and creation time stay as they were.
Nothing for an id no milestone has; every other verb that names a milestone refuses such an id.
Every milestone, in id order.
The milestone's Tally: tallyDone of its tallyTotal members are done. Counts rather than a ratio, so "none of three" and "no members" differ; milestoneShare gives the share.
Idempotent.
Unassigning a ref that is not a member changes nothing. A closed milestone refuses.
Accepts exactly the YYYY-MM-DD spellings of real dates, the 29th of
February in leap years only.
Accepts exactly NS/PROJ#N and NS/PROJ!N: two or more /-separated
names, the marker, and a positive number written without leading zeros,
so every ref has one spelling.
The ref a string spells, as a string literal is: partial, an error on a string that is not a ref, so a program written without OverloadedStrings still fails as it is folded, not later.
from AddComment
from AddMember
from AddProjectAlias
from AddProjectMember
from AddSshKey
from AddUserSshKey
from AmAdmin
from Approvals
from Approve
from Approvers
from Audit
from Avatars
from Branches
from ClaimJob
from ClaimJobs
from ClaimPlans
from ClaimPublications
from CloseIssue
from CloseMergeRequest
from CommentMergeRequest
from Comments
from Commits
from CreateGroup
from CreateProject
from CreateServiceAccount
from CreateToken
from CreateUser
from DeleteGroup
from DeleteProject
from EditIssue
from EndSessions
from FlakeOutputs
from GetCommit
from GetGroup
from GetIssue
from GetMergeRequest
from GetPipeline
from GetProject
from Groups
from ImportFromDerivation
from Issues
from MarkAllTodosDone
from MarkTodoDone
from Members
from Merge
from MergeRequestComments
from MergeRequestCommits
from MergeRequests
from MyRole
from OpenIssue
from OpenMergeRequest
from PackageIndex
from Packages
from PipelineJobs
from Pipelines
from ProjectAliases
from ProjectMembers
from ProjectPackages
from Projects
from ProtectBranch
from ProtectedBranches
from RemoveAvatar
from RemoveMember
from RemoveProjectMember
from RemoveSshKey
from RenameProject
from ReopenIssue
from ReopenMergeRequest
from ReplyThread
from ReportJob
from ReportPlan
from ReportPublication
from ResolveThread
from RevokeServiceAccount
from RevokeToken
from RotateServiceAccount
from RunPipeline
from ServiceAccounts
from SetApprovers
from SetAvatar
from SetDefaultBranch
from SetDescription
from SetPassword
from SetPublish
from SetSetting
from SetVisibility
from Settings
from SshKeys
from StartThread
from Threads
from Todos
from Tokens
from Tree
from Unapprove
from UnprotectBranch
from UnresolveThread
from Whoami
Instances5Eq, Ord, Read, Show, IsString
Eq DueDefined in milestone-dsl-0.1.0 · Milestone.TypesOrd DueDefined in milestone-dsl-0.1.0 · Milestone.TypesRead DueDefined in milestone-dsl-0.1.0 · Milestone.TypesShow DueDefined in milestone-dsl-0.1.0 · Milestone.TypesShown as its string literal; read back through parseDue.
IsString DueDefined in milestone-dsl-0.1.0 · Milestone.Types
A milestone as it crosses the wire. milestoneDone is the members that are done, so it is a subset of milestoneMembers; neither repeats a ref.
Constructors
A milestone's number, forge-wide.
Constructors
Instances4Eq, Ord, Read, Show
Eq MilestoneIdDefined in milestone-dsl-0.1.0 · Milestone.TypesOrd MilestoneIdDefined in milestone-dsl-0.1.0 · Milestone.TypesRead MilestoneIdDefined in milestone-dsl-0.1.0 · Milestone.TypesShow MilestoneIdDefined in milestone-dsl-0.1.0 · Milestone.Types
Instances6Bounded, Enum, Eq, Ord, Read, Show
Bounded MilestoneStateDefined in milestone-dsl-0.1.0 · Milestone.TypesEnum MilestoneStateDefined in milestone-dsl-0.1.0 · Milestone.TypesEq MilestoneStateDefined in milestone-dsl-0.1.0 · Milestone.TypesOrd MilestoneStateDefined in milestone-dsl-0.1.0 · Milestone.TypesRead MilestoneStateDefined in milestone-dsl-0.1.0 · Milestone.TypesShow MilestoneStateDefined in milestone-dsl-0.1.0 · Milestone.Types
Instances5Eq, Ord, Read, Show, IsString
Eq RefDefined in milestone-dsl-0.1.0 · Milestone.TypesOrd RefDefined in milestone-dsl-0.1.0 · Milestone.TypesRead RefDefined in milestone-dsl-0.1.0 · Milestone.TypesShow RefDefined in milestone-dsl-0.1.0 · Milestone.TypesShown as its string literal; read back through parseRef, so a malformed ref cannot cross the wire.
IsString RefDefined in milestone-dsl-0.1.0 · Milestone.Types
How far a milestone has got: tallyDone of its tallyTotal members are done. Counts rather than a ratio, so "none of three" and "no members" are different answers and a reader can print "2 of 5".
Constructors
MkTallytallyDone :: InttallyTotal :: Int
Constructors
Constructors
Instances3Eq, Read, Show
Eq AuditEntryDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead AuditEntryDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow AuditEntryDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
Constructors
Constructors
Instances3Eq, Read, Show
Eq CommitDetailDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead CommitDetailDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow CommitDetailDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
EvalRequesterProject :: StringerPipeline :: InterSha :: StringerSystem :: StringerAllSystems :: BoolerSubstituters :: [String]erTrustedKeys :: [String]erAllowIfd :: Bool
Instances3Eq, Read, Show
Eq EvalRequestDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead EvalRequestDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow EvalRequestDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
EvalResultevOutputs :: [FlakeOutput]evExpected :: [(String, String)]
Instances3Eq, Read, Show
Eq EvalResultDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead EvalResultDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow EvalResultDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
Instances3Eq, Read, Show
Eq FlakeOutputDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead FlakeOutputDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow FlakeOutputDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
Constructors
Instances3Eq, Read, Show
Eq IfdOutputsDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead IfdOutputsDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow IfdOutputsDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
Instances3Eq, Read, Show
Eq IssueStateDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead IssueStateDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow IssueStateDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
Instances3Eq, Read, Show
Eq MembershipDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead MembershipDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow MembershipDefined in nixlab-dsl-0.5.1 · NixLab.Types
Instances3Eq, Read, Show
Eq MergeRequestDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead MergeRequestDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow MergeRequestDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
Constructors
PackageIndexInfopiUrl :: StringpiRootKeys :: [String]piThreshold :: IntpiBuilt :: StringpiErrors :: [String]
Instances3Eq, Read, Show
Eq PackageIndexInfoDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead PackageIndexInfoDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow PackageIndexInfoDefined in nixlab-dsl-0.5.1 · NixLab.Types
Instances3Eq, Read, Show
Eq PackageVersionDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead PackageVersionDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow PackageVersionDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
Constructors
Instances3Eq, Read, Show
Eq PipelineJobDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead PipelineJobDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow PipelineJobDefined in nixlab-dsl-0.5.1 · NixLab.Types
Instances3Eq, Read, Show
Eq PipelineStatusDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead PipelineStatusDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow PipelineStatusDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
Constructors
Instances3Eq, Read, Show
Eq PublicationDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead PublicationDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow PublicationDefined in nixlab-dsl-0.5.1 · NixLab.Types
Instances6Bounded, Enum, Eq, Ord, Read, Show
Bounded RoleDefined in nixlab-dsl-0.5.1 · NixLab.TypesEnum RoleDefined in nixlab-dsl-0.5.1 · NixLab.TypesEq RoleDefined in nixlab-dsl-0.5.1 · NixLab.TypesOrd RoleDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead RoleDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow RoleDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
RunnerJobrjProject :: StringrjPipeline :: IntrjOutput :: StringrjSha :: StringrjRepo :: StringrjSubstituters :: [String]rjTrustedKeys :: [String]rjUpload :: BoolrjAllowIfd :: Bool
Constructors
Instances3Eq, Read, Show
Eq ServiceAccountDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead ServiceAccountDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow ServiceAccountDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
Constructors
ThreadthreadId :: IntthreadFile :: StringthreadSide :: StringthreadLine :: IntthreadResolved :: BoolthreadComments :: [Comment]
Constructors
Instances6Bounded, Enum, Eq, Ord, Read, Show
Bounded TodoActionDefined in nixlab-dsl-0.5.1 · NixLab.TypesEnum TodoActionDefined in nixlab-dsl-0.5.1 · NixLab.TypesEq TodoActionDefined in nixlab-dsl-0.5.1 · NixLab.TypesOrd TodoActionDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead TodoActionDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow TodoActionDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
TokentokenId :: InttokenUser :: StringtokenKind :: TokenKindtokenName :: StringtokenScopes :: [String]tokenCreated :: StringtokenLastUsed :: StringtokenExpires :: StringtokenRevoked :: Bool
Instances6Bounded, Enum, Eq, Ord, Read, Show
Bounded TokenKindDefined in nixlab-dsl-0.5.1 · NixLab.TypesEnum TokenKindDefined in nixlab-dsl-0.5.1 · NixLab.TypesEq TokenKindDefined in nixlab-dsl-0.5.1 · NixLab.TypesOrd TokenKindDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead TokenKindDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow TokenKindDefined in nixlab-dsl-0.5.1 · NixLab.Types
Constructors
UseruserName :: StringuserGroups :: [String]
Instances4Eq, Ord, Read, Show
Eq VisibilityDefined in nixlab-dsl-0.5.1 · NixLab.TypesOrd VisibilityDefined in nixlab-dsl-0.5.1 · NixLab.TypesRead VisibilityDefined in nixlab-dsl-0.5.1 · NixLab.TypesShow VisibilityDefined in nixlab-dsl-0.5.1 · NixLab.Types