trust nothing. but this might work. notsure

it's hard to do distributed work when the tools are themselves
	being worked on. lots of crazy in these patches until
	they actually work. I'm switching between droplets, hypervisors,
	etc.
This commit is contained in:
Jeff Carr 2024-12-30 00:50:51 -06:00
parent 45c32bc7fc
commit 4fc958fcc9
3 changed files with 8 additions and 5 deletions

View File

@ -67,8 +67,8 @@ all: install
patches-make: install
forge --patchset "from makefile 2"
localhost-patches: install
forge --patchset "test-localhost" --url "http://localhost:2233/"
patches-list-2233: install
forge --list-patchset --connect "http://go.wit.com:2233/"
patches-list: install
forge --list-patchset

View File

@ -12,8 +12,10 @@ import (
func applyPatches(pset *forgepb.Patchs) error {
// log.Info("got to applyPatches() pset", pset)
log.Info("got to applyPatches() name", pset.Name)
log.Info("got to applyPatches() comment", pset.Comment)
log.Info("applyPatches() NAME", pset.Name)
log.Info("applyPatches() COMMENT", pset.Comment)
log.Info("applyPatches() GIT_AUTHOR_NAME", pset.GetGitAuthorName())
log.Info("applyPatches() GIT_AUTHOR_EMAIL", pset.GetGitAuthorEmail())
all := pset.SortByFilename()
for all.Scan() {
p := all.Next()

View File

@ -50,7 +50,8 @@ func listPatches() error {
log.Info("patchset:", line)
last = strings.TrimSpace(line)
}
getPatch(last)
parts := strings.Fields(last)
getPatch(parts[0])
return nil
}