Commit Graph

29 Commits

Author SHA1 Message Date
Salvador E. Tropea 877695378c [Fixed][Diff] Link name for git diffs
- Also adapted file test to new name
2022-09-09 13:30:27 -03:00
Salvador E. Tropea e871efe4bd [Diff] Option to use variant's file_id for the link
- Also changed None by Current/FILE
2022-09-09 13:09:56 -03:00
Salvador E. Tropea f615790ddc [Diff] Added schematic variants compare
Closes #278
2022-09-09 11:36:48 -03:00
Salvador E. Tropea 0a817bfc60 [Diff] Added two mechanisms to compare PCB variants in one output
- Taking pairs
- Using a reference

Related to #278
2022-09-09 10:57:36 -03:00
Salvador E. Tropea 584ef5354b [Diff] Added mechanism to compare using a variant
Related to #278
2022-09-09 09:42:06 -03:00
Salvador E. Tropea f127312b27 [Diff] Added example for quick start 2022-09-07 13:26:48 -03:00
Salvador E. Tropea 6354ccdd7d [Diff] More changes to the link name
- Adding the tag to branches
2022-09-07 10:52:51 -03:00
Salvador E. Tropea 43aae8b0fe [Diff] Give priority to a tag if we are exactly at the tag 2022-09-06 10:37:48 -03:00
Salvador E. Tropea 947542747f [Diff] Added some logic to support new=''
- Pretends to be HEAD
- Detects if we have a dirty state

Related to #276
2022-09-06 10:12:10 -03:00
Salvador E. Tropea f603301d59 [Diff] Changed the name of the link
- It now tries with the branch, then the tag and finally what the user
  named.

Related to #276
2022-09-06 08:56:28 -03:00
Salvador E. Tropea 460ffca49b [Diff] Better `copy_instead_of_link` description
Related to #275
2022-09-05 13:56:56 -03:00
Salvador E. Tropea e34d4a01e0 [Diff] Added option to force the checkouts 2022-09-05 13:48:14 -03:00
Salvador E. Tropea a4abb65ef3 [Diff] Added support for stashing submodules
Related to #265
2022-09-05 13:35:04 -03:00
Salvador E. Tropea 11d1b7ffcb [Diff] Now the link contains the git point name and the hash
Related to #276
2022-09-05 10:58:27 -03:00
Salvador E. Tropea 01536726a1 New output "Info": collects info about the environment.
Related to #209
2022-09-05 09:07:08 -03:00
Salvador E. Tropea 560ce80c7d [Debug] Logged executed command in a cut & paste friendly way
Closes #269
2022-09-02 08:49:39 -03:00
Salvador E. Tropea de4d6c0714 [Diff] Added error message when KIBOT_LAST doesn't point to a hash 2022-09-02 08:14:55 -03:00
Salvador E. Tropea d834ba5075 [Diff][Fixed] Problems with overwriting the symlink 2022-09-02 08:14:15 -03:00
Salvador E. Tropea e9e4225b16 [Diff] Added option to copy instead of link
Closes #272
2022-09-02 07:16:16 -03:00
Salvador E. Tropea cabf14ec07 [Diff][Fixed] Always comparing the PCB
- Added regression test

Fixes #273
2022-09-02 07:03:57 -03:00
Salvador E. Tropea 2b54d8320a [Diff] Added check for the old/new files specified. 2022-09-02 07:00:01 -03:00
Salvador E. Tropea d8d8552883 [Diff] Now the %i is diff_pcb for the PCB and diff_sch for the sch
Related to #265
2022-09-01 14:13:28 -03:00
Salvador E. Tropea 75f79b1a72 [DOCs] Added advice on how to compress links 2022-08-31 13:41:06 -03:00
Salvador E. Tropea 6393ee3319 [Diff] Made the symlink relative
- So it can be included in an archive
2022-08-31 13:37:44 -03:00
Salvador E. Tropea 651f3890d5 [Diff] Added KiAuto as dependency
Related to #265
2022-08-31 12:59:52 -03:00
Salvador E. Tropea 10ee73feeb [Diff] Added option to create a link to the output
- This link contains the git hashes involved in the comparison.

Related to #265
2022-08-31 08:47:15 -03:00
Salvador E. Tropea 1557dfea77 [Diff][Fixed] Problems with git submodules
- Now we force a submodules update during checkout

Related to #265
2022-08-31 08:10:27 -03:00
Salvador E. Tropea 6b344a094b [Diff][Fixed] Problems when no changes to stash
- "git stash push" always returns 0, even if nothing was stashed.
- But "git stash pop" returns 1 if nothing stashed.
- So now we check using "git stash list".

Related to #265
2022-08-31 07:50:09 -03:00
Salvador E. Tropea 464b72e8f1 New output to compute differences between PCBs and SCHs.
Fixes INTI-CMNB/KiAuto#14
2022-08-25 13:02:02 -03:00