"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pkg/cmd/run/view/view.go" between
gh-cli-1.10.3.tar.gz and gh-cli-1.11.0.tar.gz

About: GitHub CLI is GitHub’s official command line tool.

view.go  (gh-cli-1.10.3):view.go  (gh-cli-1.11.0)
skipping to change at line 465 skipping to change at line 465
if selected > 0 { if selected > 0 {
return &jobs[selected-1], nil return &jobs[selected-1], nil
} }
// User wants to see all jobs // User wants to see all jobs
return nil, nil return nil, nil
} }
func logFilenameRegexp(job shared.Job, step shared.Step) *regexp.Regexp { func logFilenameRegexp(job shared.Job, step shared.Step) *regexp.Regexp {
re := fmt.Sprintf(`%s\/%d_.*\.txt`, job.Name, step.Number) re := fmt.Sprintf(`%s\/%d_.*\.txt`, regexp.QuoteMeta(job.Name), step.Numb er)
return regexp.MustCompile(re) return regexp.MustCompile(re)
} }
// This function takes a zip file of logs and a list of jobs. // This function takes a zip file of logs and a list of jobs.
// Structure of zip file // Structure of zip file
// zip/ // zip/
// ├── jobname1/ // ├── jobname1/
// │ ├── 1_stepname.txt // │ ├── 1_stepname.txt
// │ ├── 2_anotherstepname.txt // │ ├── 2_anotherstepname.txt
// │ ├── 3_stepstepname.txt // │ ├── 3_stepstepname.txt
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)