repository

package
v0.40.1-geaaru Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Copyright © 2022-2023 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WagonFactory

type WagonFactory struct {
	Config     *cfg.LuetConfig
	Repository *cfg.LuetRepository
	Provides   *wagon.WagonProvides
	// contains filtered or unexported fields
}

func NewWagonFactory

func NewWagonFactory(config *cfg.LuetConfig, repo *cfg.LuetRepository) *WagonFactory

func (*WagonFactory) BumpRevision

func (w *WagonFactory) BumpRevision(treePaths []string, opts *WagonFactoryOpts) error

type WagonFactoryOpts

type WagonFactoryOpts struct {
	ResetRevision bool

	OutputDir   string
	PackagesDir string

	// Enable creation of legacy tarballs
	// to avoid broken updates.
	LegacyMode bool

	// Validate package tarball
	CheckPackageTarball bool
	// Add compilertree tarball on bump.
	WithCompilerTree bool

	// Using same compression for all files
	CompressionMode compression.Implementation

	TreeFilename string
}

WagonFactoryOpts describe contains the all possible options to bump a repository revision.

func NewWagonFactoryOpts

func NewWagonFactoryOpts() *WagonFactoryOpts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL