Book a Demo

Author Topic: Version Control  (Read 7509 times)

GrahamL

  • EA User
  • **
  • Posts: 111
  • Karma: +2/-0
    • View Profile
Version Control
« on: March 05, 2021, 08:39:03 pm »
Hi
We are using version control on one of our projects
There seems to be no indication that a package is checked out by another user - only get notified when another user tries to check it out (a dialog is displayed when the attempt is made)

Is there a way to see who has what packages checked out?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Version Control
« Reply #1 on: March 05, 2021, 08:48:08 pm »
You can write a search query to get all checked-out packages.

Look in t_package.PackageFlags, that's where the checkout info is stored.

Geert

GrahamL

  • EA User
  • **
  • Posts: 111
  • Karma: +2/-0
    • View Profile
Re: Version Control
« Reply #2 on: March 05, 2021, 08:50:43 pm »
Thanks
I'll look into it, although I would have expected an indication on the GUI

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Version Control
« Reply #3 on: March 05, 2021, 09:13:54 pm »
Yeah, a visual indicated of "checked out by someone else" could be useful.

If you use Security with the option Require User Lock to edit, the checked-out packages will normally also have a red exclamation mark in the project browser
Not always, because you can unlock packages that are checked out, or lock packages that are not checked-out by you, but in most cases the lock status and checked-out status will be synchronized.

Geert