element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Chat (English) Does the library editor tool lock a file while editing it?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 8 replies
  • Answers 2 answers
  • Subscribers 180 subscribers
  • Views 713 views
  • Users 0 members are here
Related

Does the library editor tool lock a file while editing it?

Former Member
Former Member over 11 years ago

I am working in a git controlled evnvironment with several other engineers. Currently we each have a local copy of our libraries that are sync'd through git. The problem of merging libraries files after a Git pull is becoming excessive.

 

We'd like to store all files in a folder on an NFS server accessable by all users. The libraries would still be version controlled by git, with a periodic commits. When an engineer is editing a library, the file is read only to all other users. the other users can view but not concurrently edit the file.

 

does the eagle library editor tool lock open files?

 

If not, is it possible to easily integrate this feature? without any other version controll or check-out software.

  • Sign in to reply
  • Cancel
Parents
  • AnalogNotes
    0 AnalogNotes over 11 years ago

    Jesse Banks wrote:

    I am working in a git controlled evnvironment with several other engineers. Currently we each have a local copy of our libraries that are sync'd through git. The problem of merging libraries files after a Git pull is becoming excessive.

     

    If you're having a problem merging libraries, that suggests to me that your libraries are too large and/or too complex.  Have you considered splitting them up and using more small library files?  Are you really making that many changes to your libraries?  If so, merging issues are probably a symptom of a larger work flow problem.  The whole point of a distributed revision control system like Git is to keep local copies of everything and work independently, then periodically merge changes.

     

    We'd like to store all files in a folder on an NFS server accessable by all users. The libraries would still be version controlled by git, with a periodic commits. When an engineer is editing a library, the file is read only to all other users. the other users can view but not concurrently edit the file.

     

    Speaking as a Linux System Administrator, NFS is evil!  If you don't have to, don't use it.  I'd suggest Unison instead: Unison File Synchronizer

     

    If you really want to have a central master repository with file locking, you will probably be better off switching to Subversion (SVN) instead of using Git.  Here's a discussion of file locking with SVN: http://svnbook.red-bean.com/en/1.7/svn-book.html#svn.advanced.locking  That seems like a better fit for what you are talking about...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • AnalogNotes
    0 AnalogNotes over 11 years ago

    Jesse Banks wrote:

    I am working in a git controlled evnvironment with several other engineers. Currently we each have a local copy of our libraries that are sync'd through git. The problem of merging libraries files after a Git pull is becoming excessive.

     

    If you're having a problem merging libraries, that suggests to me that your libraries are too large and/or too complex.  Have you considered splitting them up and using more small library files?  Are you really making that many changes to your libraries?  If so, merging issues are probably a symptom of a larger work flow problem.  The whole point of a distributed revision control system like Git is to keep local copies of everything and work independently, then periodically merge changes.

     

    We'd like to store all files in a folder on an NFS server accessable by all users. The libraries would still be version controlled by git, with a periodic commits. When an engineer is editing a library, the file is read only to all other users. the other users can view but not concurrently edit the file.

     

    Speaking as a Linux System Administrator, NFS is evil!  If you don't have to, don't use it.  I'd suggest Unison instead: Unison File Synchronizer

     

    If you really want to have a central master repository with file locking, you will probably be better off switching to Subversion (SVN) instead of using Git.  Here's a discussion of file locking with SVN: http://svnbook.red-bean.com/en/1.7/svn-book.html#svn.advanced.locking  That seems like a better fit for what you are talking about...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube