Replies: 9 comments 43 replies
-
Got the fllowing in my verbose log:
and without verbose:
Does not happen when a file is changed (and not committed). |
Beta Was this translation helpful? Give feedback.
-
I got this when diffing the schematic:
Apparently, eeschema does not understand --output_name .
I am using the dev image up-to-date:
EDIT: Also tried |
Beta Was this translation helpful? Give feedback.
-
So I got a result for comparing two PCB git versions, the SCH diff did not work (see above). Regarding the naming of the outputfile: it can of course be hardcoded in the filename, but in order to avoid repetition, it would be nice to be able to reference the git references in the name. Either the short hashes (independeng of how the version was specified), or the tag name (specified tag name or tag present on the version when the pcb/schematic is unmodified vs. git). I can make separate "Issues" for all of the above or combine them except for the feature request (reference hash or tag in filename for differences). |
Beta Was this translation helpful? Give feedback.
-
KiBot is doing |
Beta Was this translation helpful? Give feedback.
-
Given that the git issue and my local kiauto issue are now fixed, I could procede with the flow to generated difference files for the PCB and the SCH, but the SCH generated the PCB difference. Further I am questioning myself how the difference filename is going to reflect PCB or SCH through my global naming scheme. Here are the essential parts of my yaml configuration, I can share more if needed - I was using the proto variant, but I do not think that is essential: import:
# Some imports
global:
output: '%f_%r_%d-%i.%x'
# out_dir: "%f_%br_%bd_%g/"
out_dir: '%bf_%r_%d_%g/'
date_time_format: '%Y%m%d_%H%M%S'
date_format: '%Y%m%d'
time_format: '%H%M%S'
variant: 5V_3btn
variants:
- name: proto
comment: 5V power, 4 buttons per screen
type: kicost
file_id: _proto
variant: ^(button3|button4|screen5v|conn3|AD8|bl_buffer)$
pre_transform: kicost_rename
- name: diff_A_pcb
type: diff
comment: PCB difference with previous version
layers: [all]
options:
# output: '%f-%i%I%v.%x'
cache_dir: .cache
diff_mode: red_green # or stats
# fuzz: 5
#new: AYAC100577-02_20191209
#new_type: git # git or file
old: DUO_PROTO
old_type: git
pcb: true
threshold: 40
- name: diff_A_sch
type: diff
comment: SCH difference with previous version
layers: [all]
options:
# output: '%f-%i%I%v.%x'
cache_dir: .cache
diff_mode: red_green # or stats
# fuzz: 5
#new: AYAC100577-02_20191209
#new_type: git # git or file
old: DUO_PROTO
old_type: git
pcb: false
threshold: 40 First I generated both diff_A_pcb and diff_A_sch, but noticing that I got the PCB differences, I then deleted the difference PDF that was generated and only requested to produce diff_A_sch - I still got the PCB difference. |
Beta Was this translation helpful? Give feedback.
-
Side effects of stash without local changes, and old stash on stack.
|
Beta Was this translation helpful? Give feedback.
-
I also suggest to add '--' in the calls to git as the tags might start with the - sign and be interpreted as an option (not my case, but could happen). |
Beta Was this translation helpful? Give feedback.
-
My offer to create issues instead still stands - it maybe more efficient at this point. |
Beta Was this translation helpful? Give feedback.
-
In case of failure one out of two times I do not get into the original git state in my clone. So I starting investigating mounting an overlay over the docker workdir and write the output elsewhere. |
Beta Was this translation helpful? Give feedback.
-
@set-soft I started testing KiDiff. I think that the "Issues" are related to the KiBot setup, I am not creating an issue (as of yet), but writing down observations as I go along.
Submodules
I use submodules to refer to my libraries which appears in .git/config as follows:
It appears that submodules are not checked out/update with regards to the project tag. Not an issue for me, but should at least be mentioned as a warning in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions