Author Topic: Managing Versions: KiCad sets of files  (Read 1765 times)

0 Members and 1 Guest are viewing this topic.

Offline NivagSwerdnaTopic starter

  • Super Contributor
  • ***
  • Posts: 2495
  • Country: gb
Managing Versions: KiCad sets of files
« on: August 07, 2020, 11:15:46 am »
This is probably a large topic but simply...

I have a design (OK many designs) which individually have a set of KiCAD files and I put these files in GIT as I go along so for a particular design I have a history of files... so far so good...

but now I need to have Rev 2 of my design and concurrently I need to maintain Rev 1 and in particular in Rev 1 I want to record the bodges I need to apply to get it to work

What's the best way of organising stuff?  Copy into a new directory as Rev2 in the same Repo and run them in parallell?

Just wondered
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2300
  • Country: gb
Re: Managing Versions: KiCad sets of files
« Reply #1 on: August 07, 2020, 11:22:29 am »
git-branch
 
The following users thanked this post: thinkfat

Offline NivagSwerdnaTopic starter

  • Super Contributor
  • ***
  • Posts: 2495
  • Country: gb
Re: Managing Versions: KiCad sets of files
« Reply #2 on: August 07, 2020, 12:15:28 pm »
git-branch
I need to reorganise to do that... into smaller repos... but that's probably sensible.  Currently I have related designs in one repo... but each design versions seperately.
 

Offline Red Squirrel

  • Super Contributor
  • ***
  • Posts: 2750
  • Country: ca
Re: Managing Versions: KiCad sets of files
« Reply #3 on: August 16, 2020, 04:37:40 pm »
I THINK you can just copy the whole folder somewhere else.  At quick glance it does not look like there are any hard coded paths within any files. 
 

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3361
  • Country: nl
Re: Managing Versions: KiCad sets of files
« Reply #4 on: August 18, 2020, 11:50:11 pm »
If you have project specific libraries, you could have entered their location as either absolute or relative path in

Preferences / Manage Symbol Libraries
Preferences / Manage Footprint Libraries

Both dialogs have 2 tabs, and the right tab is for "Project specific Libraries".

There you can use ${KIPRJMOD} to point to the current location of the active project.

All KiCad's files are human readable ascii.
I've made good use of this with search and replace operations a few times, for example for changing some symbols or footprint references to different libraries.
But as KiCad's own interface is ever improving this is less and less necessary.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf