Dagger
Search

drop-calf

No long description provided.

Installation

dagger install github.com/ibuchanan/ranch-rig-drop-calf@848caf191feaba8705e6f39ec24ec8963161ac92

Entrypoint

Return Type
DropCalf
Example
dagger -m github.com/ibuchanan/ranch-rig-drop-calf@848caf191feaba8705e6f39ec24ec8963161ac92 call \
func (m *MyModule) Example() *dagger.DropCalf  {
	return dag.
			Dropcalf()
}
@function
def example() -> dagger.DropCalf:
	return (
		dag.drop_calf()
	)
@func()
example(): DropCalf {
	return dag
		.dropCalf()
}

Types

DropCalf 🔗

init() 🔗

First-time setup of an empty directory or a forge create repository. Refuse when catalog-info.yaml or .atlassian/OWNER exists at the project root; use update for maintenance. Otherwise remove the scaffold files Drop Calf replaces, generate the profile’s files over what is left, and keep the scaffold’s runtime dependencies. Scaffold steps are declared per kind; forge-app adopts root src JavaScript as TypeScript and updates matching resource paths without editing source contents or relaxing strict checks. Normalize the manifest runtime from .nvmrc in the final update pass. Package naming: explicit name, nonblank scaffold name, workspace basename. Catalog owns package identity; the owner staff ID is the package author. With git, return repository.bundle and result.json instead of a worktree; author identity is required and history supplies an existing repository.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
directoryDirectory !-No description provided
profileString !-No description provided
ownerString !-No description provided
packageNameString -No description provided
descriptionString !""No description provided
withFunctions[String ! ] -No description provided
withoutFunctions[String ! ] -No description provided
presetString -No description provided
gitBoolean !falseNo description provided
historyFile -No description provided
targetBranchString !"main"No description provided
authorNameString !""No description provided
authorEmailString !""No description provided
Example
dagger -m github.com/ibuchanan/ranch-rig-drop-calf@848caf191feaba8705e6f39ec24ec8963161ac92 call \
 init --directory DIR_PATH --profile string --owner string --description string --git boolean --target-branch string --author-name string --author-email string
func (m *MyModule) Example(directory *dagger.Directory, profile string, owner string, description string, git bool, targetBranch string, authorName string, authorEmail string) *dagger.Directory  {
	return dag.
			Dropcalf().
			Init(directory, profile, owner, description, git, targetBranch, authorName, authorEmail)
}
@function
def example(directory: dagger.Directory, profile: str, owner: str, description: str, git: bool, targetbranch: str, authorname: str, authoremail: str) -> dagger.Directory:
	return (
		dag.drop_calf()
		.init(directory, profile, owner, description, git, targetbranch, authorname, authoremail)
	)
@func()
example(directory: Directory, profile: string, owner: string, description: string, git: boolean, targetBranch: string, authorName: string, authorEmail: string): Directory {
	return dag
		.dropCalf()
		.init(directory, profile, owner, description, git, targetBranch, authorName, authorEmail)
}

initChanges() 🔗

init as a changeset, so deleted scaffold files are deleted on export.

Return Type
Changeset !
Arguments
NameTypeDefault ValueDescription
directoryDirectory !-No description provided
profileString !-No description provided
ownerString !-No description provided
packageNameString -No description provided
descriptionString !""No description provided
withFunctions[String ! ] -No description provided
withoutFunctions[String ! ] -No description provided
presetString -No description provided
Example
dagger -m github.com/ibuchanan/ranch-rig-drop-calf@848caf191feaba8705e6f39ec24ec8963161ac92 call \
 init-changes --directory DIR_PATH --profile string --owner string --description string
func (m *MyModule) Example(directory *dagger.Directory, profile string, owner string, description string) *dagger.Changeset  {
	return dag.
			Dropcalf().
			Initchanges(directory, profile, owner, description)
}
@function
def example(directory: dagger.Directory, profile: str, owner: str, description: str) -> dagger.Changeset:
	return (
		dag.drop_calf()
		.initchanges(directory, profile, owner, description)
	)
@func()
example(directory: Directory, profile: string, owner: string, description: string): Changeset {
	return dag
		.dropCalf()
		.initChanges(directory, profile, owner, description)
}

update() 🔗

Apply selected update policies without scaffold steps. With git, return a repository bundle and result.json, retaining an update branch and merge. Supply history or remoteUrl; publish explicitly pushes both refs to remoteUrl. Always inspect result.json: failures after preparation export recovery history.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
directoryDirectory !-No description provided
profileString !-No description provided
withFunctions[String ! ] -No description provided
withoutFunctions[String ! ] -No description provided
presetString -No description provided
gitBoolean !falseNo description provided
historyFile -No description provided
remoteUrlString -No description provided
targetBranchString !"main"No description provided
authorNameString !""No description provided
authorEmailString !""No description provided
publishBoolean !falseNo description provided
authHeaderSecret -No description provided
sshAgentSocket -No description provided
knownHostsFile -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(directory *dagger.Directory, profile string, git bool, targetBranch string, authorName string, authorEmail string, publish bool) *dagger.Directory  {
	return dag.
			Dropcalf().
			Update(directory, profile, git, targetBranch, authorName, authorEmail, publish)
}
@function
def example(directory: dagger.Directory, profile: str, git: bool, targetbranch: str, authorname: str, authoremail: str, publish: bool) -> dagger.Directory:
	return (
		dag.drop_calf()
		.update(directory, profile, git, targetbranch, authorname, authoremail, publish)
	)
@func()
example(directory: Directory, profile: string, git: boolean, targetBranch: string, authorName: string, authorEmail: string, publish: boolean): Directory {
	return dag
		.dropCalf()
		.update(directory, profile, git, targetBranch, authorName, authorEmail, publish)
}

validate() 🔗

Read-only tool acceptance report, including skipped checks and all failures.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
directoryDirectory !-No description provided
profileString !-No description provided
withFunctions[String ! ] -No description provided
withoutFunctions[String ! ] -No description provided
presetString -No description provided
forgeEmailSecret -No description provided
forgeApiTokenSecret -No description provided
Example
dagger -m github.com/ibuchanan/ranch-rig-drop-calf@848caf191feaba8705e6f39ec24ec8963161ac92 call \
 validate --directory DIR_PATH --profile string
func (m *MyModule) Example(ctx context.Context, directory *dagger.Directory, profile string) string  {
	return dag.
			Dropcalf().
			Validate(ctx, directory, profile)
}
@function
async def example(directory: dagger.Directory, profile: str) -> str:
	return await (
		dag.drop_calf()
		.validate(directory, profile)
	)
@func()
async example(directory: Directory, profile: string): Promise<string> {
	return dag
		.dropCalf()
		.validate(directory, profile)
}