Book a Demo

Author Topic: PackageFlag and subversion  (Read 5080 times)

NeilS

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
PackageFlag and subversion
« on: September 04, 2009, 11:13:02 pm »
Hi

Got a package that is checked out to me according to subversion - but EA does not give me the menu option to check it in.  It tells me (rightly) that the package is already checked out.

I've gone to the ea database and looked at the t_package table, comparing this package with one that I do have checked out (and can check in)

The difference between the rows is that the PackageFlag has different values.

The problem package has "VCCFG=ea-axxia;CheckedOutOffline=0;CRC=75d49125;"

The ok package has "VCCFG=ea-axxia;CheckedOutOffline=0;CheckedOutTo=strangen;"

I am mooting helping ea by updating the problem row with these values.  Does anyone have any suggestions which do not involve hacking?

Neil

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: PackageFlag and subversion
« Reply #1 on: September 07, 2009, 03:48:40 pm »
Wasn't there a (new since a couple of builds) option to synchronize the package status with the VC? I'm guessing these situations are exactly what this option was build for.

Geert

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: PackageFlag and subversion
« Reply #2 on: September 08, 2009, 09:06:16 am »
It's documented in UML Model management > Version Control > Use Version Control > Resynchronize the Status of Version Controlled Packages.

Or, in the Index, look for Resynchronize       Package Version Control Status.
Best Regards, Roy

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: PackageFlag and subversion
« Reply #3 on: September 08, 2009, 05:06:17 pm »
unfortunatly there is no synch for single package, only for the whoel repository, wich (if it big) will take hours.
Better to just change the package flags to "VCCFG=ea-axxia;CheckedOutOffline=0;CheckedOutTo=strangen;"
We do it a lot becuase EA has the tendency to loos synch and the resycnh takes so much time.
« Last Edit: September 08, 2009, 05:07:31 pm by MartinT »
Recursion definition:
If you don’t understand the definition read "Recursion definition".

NeilS

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: PackageFlag and subversion
« Reply #4 on: September 08, 2009, 08:19:09 pm »
Thanks for everyone's input

In the light of Martin's comments I've simply gone round the back door and updated the packageflag value.  Which works fine, even if its a hack

Looks like a package level resync (with option to include sub-packages) would be useful - any chance of getting this considered Roy?

Does anyone who has used the current resync option know whether passwords get updated?  In my environment we have to change our windows passwords monthly.  Currently I have to use Tortoise repo browser to clear authentication data and then update sub-version - otherwise EA gets very upset indeed!

Neil

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: PackageFlag and subversion
« Reply #5 on: September 09, 2009, 04:03:38 am »
No work around for the password issue either. EA does not pass the password request (or any warning for th matter).
Recursion definition:
If you don’t understand the definition read "Recursion definition".

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: PackageFlag and subversion
« Reply #6 on: September 09, 2009, 09:56:49 am »
Quote
Looks like a package level resync (with option to include sub-packages) would be useful - any chance of getting this considered Roy?

There is always a chance - if you submit a feature request, using the Feature Request option in the Support column at the very bottom of this page.
Best Regards, Roy