other stuff
This commit is contained in:
parent
2b3bd66ef2
commit
2fccf60335
|
@ -81,7 +81,7 @@ func (f *Forge) DoAllCheckoutMaster() error {
|
||||||
f.RillFuncError(rillCheckoutMaster)
|
f.RillFuncError(rillCheckoutMaster)
|
||||||
count := f.RillReload()
|
count := f.RillReload()
|
||||||
if count != 0 {
|
if count != 0 {
|
||||||
f.ConfigSave()
|
config.SetChanged("repos", true)
|
||||||
}
|
}
|
||||||
|
|
||||||
total, count, nope, err := f.IsEverythingOnMaster()
|
total, count, nope, err := f.IsEverythingOnMaster()
|
||||||
|
@ -160,7 +160,7 @@ func (f *Forge) DoAllCheckoutUser(force bool) error {
|
||||||
f.RillFuncError(rillCheckoutUser)
|
f.RillFuncError(rillCheckoutUser)
|
||||||
count := f.RillReload()
|
count := f.RillReload()
|
||||||
if count != 0 {
|
if count != 0 {
|
||||||
f.ConfigSave()
|
config.SetChanged("repos", true)
|
||||||
}
|
}
|
||||||
|
|
||||||
total, count, nope, err := f.IsEverythingOnUser()
|
total, count, nope, err := f.IsEverythingOnUser()
|
||||||
|
@ -259,7 +259,7 @@ func (f *Forge) DoAllCheckoutDevel(force bool) error {
|
||||||
f.RillFuncError(rillCheckoutDevel)
|
f.RillFuncError(rillCheckoutDevel)
|
||||||
count := f.RillReload()
|
count := f.RillReload()
|
||||||
if count != 0 {
|
if count != 0 {
|
||||||
f.ConfigSave()
|
config.SetChanged("repos", true)
|
||||||
}
|
}
|
||||||
|
|
||||||
total, count, nope, err := f.IsEverythingOnDevel()
|
total, count, nope, err := f.IsEverythingOnDevel()
|
||||||
|
|
|
@ -28,7 +28,9 @@ func (cfg *ForgeConfigs) ConfigSave() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cfg *ForgeConfigs) DumpENV() {
|
func (cfg *ForgeConfigs) DumpENV() {
|
||||||
log.Infof("RepoPB file: cfg.ReposPB=%s FORGE_REPOSPB=%s\n", cfg.ReposPB, os.Getenv("FORGE_REPOSPB"))
|
if cfg.ReposPB != os.Getenv("FORGE_REPOSPB") {
|
||||||
|
log.Infof("RepoPB file problem: cfg.ReposPB=%s != FORGE_REPOSPB=%s\n", cfg.ReposPB, os.Getenv("FORGE_REPOSPB"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// load the ~/.config/forge/ files
|
// load the ~/.config/forge/ files
|
||||||
|
|
Loading…
Reference in New Issue