Author Topic: PCB version control and notes  (Read 6863 times)

0 Members and 1 Guest are viewing this topic.

Offline rx8pilotTopic starter

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
PCB version control and notes
« on: May 26, 2015, 03:45:48 am »
I have been trying to figure out if there is any way (in Eagle or third party) to embed version notes in the .sch and .brd files. A simply way to take notes on circuit functions and description of changes that are tied to the various revisions. For now, I just keep a separate spreadsheet with notes so that I can decode my own designs. Sometimes It is easy to forget what a section of a circuit was supposed to do and have to reverse engineer my own designs. This is why I keep detailed notes for designs that have many hundreds of components.

It would be nice to keep these notes embedded if possible.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6189
  • Country: us
Re: PCB version control and notes
« Reply #1 on: May 26, 2015, 04:13:34 am »
How about using a version control system such as git?   This is what I am doing and Eagle's .brd and .sch are text based and intuitive and thus version control and diff friendly.
 

Offline rx8pilotTopic starter

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: PCB version control and notes
« Reply #2 on: May 26, 2015, 04:48:12 am »
How about using a version control system such as git?   This is what I am doing and Eagle's .brd and .sch are text based and intuitive and thus version control and diff friendly.

Git could be a good solution, although I need to learn more about it. Tying all the relevant data together would be nice. In my case, I design the mechanics, CNC data, electronics, software, as well as the graphics. Do you think git would work well with the myriad of binary data sources or is it primarily for text code?
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6189
  • Country: us
Re: PCB version control and notes
« Reply #3 on: May 26, 2015, 04:58:47 am »
How about using a version control system such as git?   This is what I am doing and Eagle's .brd and .sch are text based and intuitive and thus version control and diff friendly.

Git could be a good solution, although I need to learn more about it. Tying all the relevant data together would be nice. In my case, I design the mechanics, CNC data, electronics, software, as well as the graphics. Do you think git would work well with the myriad of binary data sources or is it primarily for text code?

You can use it for binary files with no problem, except that you will not have meaningful diff between version.

One tick I am using is also including a PDF print of the designs and using araxis merge for visual diff of the PDF files.

Git is not very intuitive but you need to know only a few commands, status, add, remove, commit, push, etc, and once you get the hang of it it's simple. Github for example provides both public (free) and private (per small fee) repository or you can run your own git server.

Other version control systems are also available and some are more intuitive than git (e.g. perforce) but git is the most common.
 

Offline Fred27

  • Supporter
  • ****
  • Posts: 726
  • Country: gb
    • Fred's blog
Re: PCB version control and notes
« Reply #4 on: May 26, 2015, 07:44:19 am »
As other posts have said, a version control is perfect for this. It will also allow you to recover older versions of your board in case your last improvement... err... wasn't. A hosted solution (eg. github or bitbucket) give you an off-site backup too.

I'm a fan of Git but to be honest there are simpler source control systems that will do the job without Git's learning curve - e.g Subversion amongst others. Go for Git if you want the latest trendy powerful tool, but be prepared to be bitten by it occasionally!
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9889
  • Country: nz
Re: PCB version control and notes
« Reply #5 on: May 26, 2015, 08:00:09 am »
You can use sourcetree if you want a more GUI interface to your git repo
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline matseng

  • Frequent Contributor
  • **
  • Posts: 563
  • Country: se
    • My Github
Re: PCB version control and notes
« Reply #6 on: May 26, 2015, 08:12:28 am »
Or githubs own gui applications at https://windows.github.com/ and https://mac.github.com/

Speaking of neat github features I recently discovered that they now can graphically show the differences of two versions of checked in svg files. (And png, jpg and psd files as well...)

https://github.com/blog/1902-svg-viewing-diffing
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4067
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: PCB version control and notes
« Reply #7 on: May 26, 2015, 11:49:42 am »
Note that your don't need a server to use git. Git works locally, and does not require any remote.
And if you want a remote, create one anywhere (git --bare --shared) accessible through ssh, nfs or smb. Not sure about ftp or afp.
Works great. Although I would be a bit reluctant on merging eagle files.

Eagle has a layer for comments and notes. You can also create new layers for your comments for each layer. If you want to.
 

Offline rx8pilotTopic starter

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: PCB version control and notes
« Reply #8 on: May 26, 2015, 05:50:02 pm »
The GUI based options are the most interesting. I am already so overloaded with a huge range of software and all the band-aids that hold them together. Another CLI based solution where I need to remember commands and syntax may have me looking for a tall bridge. I will take a look at the suggestions to see if some stand out. Sometimes the easy solutions look hard at first and the pain-in-the-ass solutions can look easy on the surface. Hope I can make wise decisions.

Eagle has a layer for comments and notes. You can also create new layers for your comments for each layer. If you want to.

I should at least use this as a fast scratch pad to take notes. Although not a replacement for a spreadsheet, it always glued to the Eagle files and a hot-key away so that I have no excuse not to use it. I guess I can always copy-paste the information out into more detailed external documentation.

Thank you all for the suggestions.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline LabSpokane

  • Super Contributor
  • ***
  • Posts: 1899
  • Country: us
Re: PCB version control and notes
« Reply #9 on: May 26, 2015, 07:37:15 pm »
As other posts have said, a version control is perfect for this. It will also allow you to recover older versions of your board in case your last improvement... err... wasn't. A hosted solution (eg. github or bitbucket) give you an off-site backup too.
I was reading up on GitHub for the same reasons as RX8, and they specifically say not to use their service as a backup tool.  I find that curious since I thought they saved a historical record on one's files.  I still have an online backup service, so it isn't the end of the world, but it's an odd statement given their purpose.
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4067
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: PCB version control and notes
« Reply #10 on: May 26, 2015, 07:59:33 pm »
A service like github, Code Spaces, was hacked and all* repositories including backups were deleted. Basically the server control panel account was wiped by the hacker.
 

Offline rx8pilotTopic starter

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: PCB version control and notes
« Reply #11 on: May 26, 2015, 11:51:12 pm »
I have an online backup scheme that replicates all data on cloud services on local drives. It is a one-way path, so a file deleted on a cloud service will never delete the multiple local backups. I trust no-one because I have been burned. Not by hackers, but by cloud based  incompetence or going out of business.

Has anyone used BOX for business? I think it keeps versions for reversion.

On the topic of keeping notes that are intended to help keep track of why changes were made or how a section of the circuit works - is excel the most common way to do this? Does anyone use the notes layer for this purpose.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf