Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package actuated-cli for openSUSE:Factory checked in at 2026-07-02 20:12:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/actuated-cli (Old) and /work/SRC/openSUSE:Factory/.actuated-cli.new.1982 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "actuated-cli" Thu Jul 2 20:12:19 2026 rev:6 rq:1363496 version:0.2.15 Changes: -------- --- /work/SRC/openSUSE:Factory/actuated-cli/actuated-cli.changes 2026-02-04 21:10:45.276302640 +0100 +++ /work/SRC/openSUSE:Factory/.actuated-cli.new.1982/actuated-cli.changes 2026-07-02 20:16:06.703195747 +0200 @@ -1,0 +2,15 @@ +Thu Jul 02 12:39:29 UTC 2026 - Johannes Kastl <[email protected]> + +- Update to version 0.2.15: + * Include URL in jobs --json output + * Make job progress more beautiful + * Warning for old URL and Copyright update + * Clarify README on OWNER + * Upgrade Go version to 1.25 + * Additional explanation/documentation + * Show URLs in standard view all the time + * Show HTTP body when there is an error + * Show a summary of jobs + * Update message + +------------------------------------------------------------------- Old: ---- actuated-cli-0.2.14.obscpio New: ---- actuated-cli-0.2.15.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ actuated-cli.spec ++++++ --- /var/tmp/diff_new_pack.cRizpo/_old 2026-07-02 20:16:07.387219408 +0200 +++ /var/tmp/diff_new_pack.cRizpo/_new 2026-07-02 20:16:07.391219547 +0200 @@ -17,7 +17,7 @@ Name: actuated-cli -Version: 0.2.14 +Version: 0.2.15 Release: 0 Summary: CLI for actuated License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.cRizpo/_old 2026-07-02 20:16:07.435221069 +0200 +++ /var/tmp/diff_new_pack.cRizpo/_new 2026-07-02 20:16:07.439221207 +0200 @@ -1,9 +1,9 @@ <services> <service name="obs_scm" mode="manual"> - <param name="url">https://github.com/self-actuated/actuated-cli</param> + <param name="url">https://github.com/self-actuated/actuated-cli.git</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v0.2.14</param> + <param name="revision">refs/tags/v0.2.15</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.cRizpo/_old 2026-07-02 20:16:07.471222314 +0200 +++ /var/tmp/diff_new_pack.cRizpo/_new 2026-07-02 20:16:07.479222591 +0200 @@ -1,6 +1,8 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/self-actuated/actuated-cli</param> - <param name="changesrevision">c182e025f791e6bdaa813ab3224e9eb7934ac760</param></service></servicedata> + <param name="changesrevision">c182e025f791e6bdaa813ab3224e9eb7934ac760</param></service><service name="tar_scm"> + <param name="url">https://github.com/self-actuated/actuated-cli.git</param> + <param name="changesrevision">069937852d18bdc6d22b9fd287fed848cab7da8e</param></service></servicedata> (No newline at EOF) ++++++ actuated-cli-0.2.14.obscpio -> actuated-cli-0.2.15.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/actuated-cli-0.2.14/cmd/jobs.go new/actuated-cli-0.2.15/cmd/jobs.go --- old/actuated-cli-0.2.14/cmd/jobs.go 2026-02-04 12:00:37.000000000 +0100 +++ new/actuated-cli-0.2.15/cmd/jobs.go 2026-07-02 12:57:25.000000000 +0200 @@ -1,7 +1,6 @@ package cmd import ( - "bytes" "encoding/json" "fmt" "io" @@ -106,14 +105,23 @@ } if requestJson { + var statuses []JobStatus + if err := json.Unmarshal([]byte(res), &statuses); err != nil { + return err + } - var prettyJSON bytes.Buffer - err := json.Indent(&prettyJSON, []byte(res), "", " ") + // Populate client-side fields (e.g. the GitHub job URL) so the JSON + // output is the full object, matching what the verbose table view + // shows rather than just the raw server payload. + for i := range statuses { + statuses[i].URL = statuses[i].URLField() + } + + out, err := json.MarshalIndent(statuses, "", " ") if err != nil { return err } - res = prettyJSON.String() - fmt.Println(res) + fmt.Println(string(out)) } else { var statuses []JobStatus @@ -218,7 +226,7 @@ etaLine2 = "" } - url := fmt.Sprintf("https://github.com/%s%s/runs/%d", owner, repo, status.JobID) + url := status.URLField() labels := "" if len(status.Labels) > 0 { labels = strings.Join(status.Labels, ",") @@ -260,6 +268,7 @@ Status string `json:"status"` Conclusion string `json:"conclusion,omitempty"` Labels []string `json:"labels,omitempty"` + URL string `json:"url,omitempty"` UpdatedAt *time.Time `json:"updated_at"` StartedAt *time.Time `json:"startedAt,omitempty"` @@ -271,3 +280,9 @@ QueuedAt *time.Time `json:"queuedAt,omitempty"` } + +// URLField returns the GitHub URL for the job run, constructed client-side +// from the owner, repo and job ID. +func (j JobStatus) URLField() string { + return fmt.Sprintf("https://github.com/%s%s/runs/%d", j.Owner+"/", j.Repo, j.JobID) +} ++++++ actuated-cli.obsinfo ++++++ --- /var/tmp/diff_new_pack.cRizpo/_old 2026-07-02 20:16:08.047242239 +0200 +++ /var/tmp/diff_new_pack.cRizpo/_new 2026-07-02 20:16:08.051242377 +0200 @@ -1,5 +1,5 @@ name: actuated-cli -version: 0.2.14 -mtime: 1770202837 -commit: c182e025f791e6bdaa813ab3224e9eb7934ac760 +version: 0.2.15 +mtime: 1782989845 +commit: 069937852d18bdc6d22b9fd287fed848cab7da8e ++++++ vendor.tar.gz ++++++
