GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pkgforge/sbuilder-go: Golang utilities for Linting and Building SBUILD Recipes [Maintainer=@xplshn]

BranchesTags
Open more actions menu

Latest commit

 

History

29 Commits
29 Commits

Folders and files

NameName
Last commit message
Last commit date
_tests
_tests
 
 
cmd/sbuild-linter
cmd/sbuild-linter
 
 
pkg
pkg
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 

Repository files navigation

SBUILDTOOLS written in Go. (for your ease and convenience)

  • Currently implemented:
    • linter

About(linter)

The sbuild-linter is a tool that validates your recipes, it checks for all kinds of wrongdoings and makes sure that your file is valid, according to the SBUILD spec The linter will produce: {{ yourRecipe }}.validated and a {{ yourRecipe }}.pkgver, these should be used by an implementation of the sbuild-builder.

TODO(linter):

  • Switch to using "github.com/goccy/go-yaml"
  • Convert into library
  • Preserve input file's whitespace
  • Use AnnotateSource to print errors and warnings that show the user specifically what line is wrong
  • Write unit tests (and make a GH action that runs on every commit against those tests) [badge?]
  • Flags to disable creation of .validated
  • Print time it took to validate each file
  • Parallel mode?

TODO(builder):

  • Implement using the sbuild-linter as library

RFC:

  • Add support for templating in the linter and builder (go tags?)

About

Golang utilities for Linting and Building SBUILD Recipes [Maintainer=@xplshn]

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

8 stars

Watchers

1 watching

Forks

2 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.