38 Commits

Author SHA1 Message Date
dsa-t
01991fed53 Prevent jobs from affecting each other via reporters when running jobsets from CLI.
(cherry picked from commit 44a3bb9274845593db733464aa3f68288e3eb150)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-22 17:42:16 +03:00
dsa-t
03fa5fdebc Record execute command job input and error streams in the log.
Also print the resolved command.


(cherry picked from commit 91e5e81bb483ff58072f8b2fdf0a6aedb06ea4a1)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-20 13:58:30 +03:00
Jeff Young
d91cce930f Don't allow default copy c'tor to copy arrays of pointers.
Fixes KICAD-SJ2.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21408
2025-08-01 21:27:12 +01:00
Jeff Young
0464cc18b1 Progress reporting for Run Jobs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19629
2025-06-28 16:23:34 -06:00
Mark Roszko
3c6ac7ddf8 Rename the job tmp var for future generalization and fix the unsetenv call 2025-06-16 16:04:34 +00:00
Jeff Young
dd39a50a14 Autocomplete for OUTPUT_TMP_PATH_VAR_NAME.
(Along with a list of other env vars in use.)
2025-06-06 20:34:05 +01:00
Marek Roszko
ba63b07a5e Set an env var when running jobs that points to the temp folder for the jobset output 2025-06-05 22:50:58 -04:00
jean-pierre charras
0342524afc kicad-cli, gerber export, very minor fix: remove duplicate option
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20930
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20931
2025-05-18 13:49:47 +02:00
Jeff Young
e69c80f09d Move STEP exporter error reporting to REPORTER interface.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20738
2025-05-03 18:27:46 +01:00
Jeff Young
2304d10879 Fix failure to increment job number.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20034
2025-03-13 16:37:27 +00:00
Jeff Young
d8cdb69831 Jobset Output -> Destination. 2025-03-03 18:34:33 +00:00
Alex Shvartzkop
3f62ff25d2 Jobsets: expand environment variables in Copy Files job source. 2025-02-18 22:15:50 +03:00
Jeff Young
b582f178dd nullptr safety 2025-01-18 16:13:32 +00:00
Jeff Young
232542f42b Re-work filtering of temp-dir messages in jobset outputs.
(Also rationalises some of the output reporting
for consistency.)
2025-01-17 15:58:21 +00:00
Jeff Young
d1411e2c69 Don't report filepath messages for jobs.
(They'll just point to temp files anyway.)

Also moves schematic netlist fetching to
MAIL_SCH_GET_NETLIST.
Eeschema's generateSchematicNetlist() hasn't
worked in some time.

Also suppresses parity error counts when parity
not run due to failure to find or load schematic.

Also writes out ERC/DRC reports even when they're
set to fail the job.
2025-01-16 13:12:25 +00:00
Jeff Young
3b07401912 Formatting. 2025-01-16 13:12:25 +00:00
Marek Roszko
5c3004b96e Avoid altering the configured output path during run in case of empty paths 2025-01-14 20:44:51 -05:00
Marek Roszko
47fb4686c3 Add text var expansion in output paths 2025-01-11 19:05:44 -05:00
Jeff Young
a797f4ce95 Remove fairy dust from copyfiles. 2025-01-08 15:39:47 +00:00
Jeff Young
17157b82b0 Blacklist for project file copying.
Also fix it to use the output path, if specified.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19479
2025-01-06 21:28:55 +00:00
Marek Roszko
adf7c7a456 Show the pcb/sch windows because macOS can't handle keeping them invisible
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19462
2025-01-04 18:18:01 -05:00
Jeff Young
fcf546516a Copyfiles job needs a cwd (at least on OSX).
Also, don't infinitely recurse when given "*".
2025-01-04 15:41:05 +00:00
Marek Roszko
1a0427a375 Add initial but not yet working correctly copy files job 2025-01-01 23:57:46 -05:00
Marek Roszko
aed82196f7 Set a default special execute output name if enabled 2025-01-01 23:57:46 -05:00
Seth Hillbrand
0b2d4d4879 Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo.  Avoids needing to
repeatly update.

Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Marek Roszko
5864d705c3 Partially fix running special execute
It was a early implementation that got forgotten about hah
2025-01-01 15:10:35 -05:00
Marek Roszko
09c8cfedd3 Add ability to set custom user descriptions on jobs 2024-12-28 21:28:42 -05:00
Marek Roszko
bdf28a1c5c Add env var expansion to special execute jobs 2024-12-25 21:41:57 -05:00
Marek Roszko
d9d927e80c Allow substitution for job output paths
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19357
2024-12-24 11:44:51 -05:00
Marek Roszko
62ec7e2d6d Add the ability to capture job reporting and display it in the result window 2024-12-23 23:05:37 -05:00
Marek Roszko
4d827a6f20 Overwrite existing fodler for a folder type job output, and add a output precheck for later use 2024-12-18 07:22:11 -05:00
Marek Roszko
cd6d43ee58 Add a simple status for output run 2024-12-17 10:08:47 -05:00
Marek Roszko
752797dade Use a shared_ptr in the jobset 2024-11-09 22:50:04 -05:00
Marek Roszko
92f82e5173 Add command executor to jobset 2024-10-19 06:56:31 -04:00
jean-pierre charras
fddc61d885 String translation: fix a subtle string diff not taken in account in commit 51e50c14 2024-10-03 14:10:16 +02:00
jean-pierre charras
51e50c1479 Fix some (minor) issues related to string translation
- Avoid not printable chars in strings to translate
- remove a trailing space.
- disambiguate to short strings.
2024-10-03 10:46:59 +02:00
jean-pierre charras
c5120cc3a1 Do not translate proper nouns and empty strings. 2024-10-02 15:05:59 +02:00
Marek Roszko
d74caace0a Initial jobset creation and running within the CLI and GUI.
Incomplete, just pushing this before feature freeze, much fixing left
2024-09-30 20:04:53 -04:00