Highlighted
Absent Member.
Absent Member.
341 views

git repository does not work for Designer


Hello,

We are moving away from subversion several years ago, but only thing
dragged us totally abandon subversion is the Novell Designer.

My current Designer is 4.5, what I did is I went to
designer_workspace/project folder, set up the git repository, pushed
everything to git repository, check it out to new workspace, import
into Designer seems success, but I was trying to access the project in
Designer result in "No valid .proj file" error. I checked .proj file and
..cproj file are both exists in the checkout project folder.

Can experts tell what I was missing?

Yi


--
yiqian
------------------------------------------------------------------------
yiqian's Profile: https://forums.netiq.com/member.php?userid=9901
View this thread: https://forums.netiq.com/showthread.php?t=55422

Labels (1)
0 Likes
5 Replies
Highlighted
Knowledge Partner
Knowledge Partner

Re: git repository does not work for Designer

yiqian wrote:

> Can experts tell what I was missing?


No, but what does a diff between the original files and the ones in the new
workspace look like? After all those are all text files, should be easy to find
the difference. Try WinMerge or "diff -r *"...

--
http://www.is4it.de/en/solution/identity-access-management/
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: git repository does not work for Designer


diff shows the only difference is the Designer folder is not in git,
since I used
Code:
--------------------
git add .
--------------------
command, so I guess this Designer folder and its content must be
ignored by git
I realized all the file names are just random generated string with no
real meaning, every time I import from Identity Vault will get totally
different set of files


--
yiqian
------------------------------------------------------------------------
yiqian's Profile: https://forums.netiq.com/member.php?userid=9901
View this thread: https://forums.netiq.com/showthread.php?t=55422

0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: git repository does not work for Designer

On Tue, 23 Feb 2016 22:27:12 +0000, yiqian wrote:

> We are moving away from subversion several years ago, but only thing
> dragged us totally abandon subversion is the Novell Designer.


git remains unsupported, so if anything goes wrong with this plan, you're
on your own. Just so you know.


> My current Designer is 4.5, what I did is I went to
> designer_workspace/project folder, set up the git repository, pushed
> everything to git repository, check it out to new workspace, import
> into Designer seems success, but I was trying to access the project in
> Designer result in "No valid .proj file" error. I checked .proj file and
> .cproj file are both exists in the checkout project folder.


Are the files actually the same before / after? Is the file metadata also
the same?

Which level of the file system are you operating at? The project? The
workspace itself?


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.microfocus.com

Please post questions in the forums. No support provided via email.
If you find this post helpful, please click on the star below.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: git repository does not work for Designer


Hello, David

Yes, I realize git is not supported, but since those are just xml files,
I believe we should be fine, also even with the subversion support, the
history, etc are too awful to use.

I followed lhaeger's advise, did a diff compare, the files are the same,
the only difference is the Designer folder is not in git, since I used
"git add ." command, I assume git must ignore this folder for some
reason.

I am on Fedora 22, the new Designer 4.5 works on Linux, I am working
directly in workspace in command console

Yi


--
yiqian
------------------------------------------------------------------------
yiqian's Profile: https://forums.netiq.com/member.php?userid=9901
View this thread: https://forums.netiq.com/showthread.php?t=55422

0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: git repository does not work for Designer

yiqian wrote:

> Yes, I realize git is not supported, but since those are just xml files,
> I believe we should be fine, also even with the subversion support, the
> history, etc are too awful to use.


Be aware that the svn client built into Designer does more than just checking
in/out whole files. Using git may work as long as you work with a single
working copy and always check in/out the projects as a whole but as soon as you
ever need to merge anything, you'll have a lot of fun merging those "just xml
files" in a way that they will result in a valid, consistent Designer project
afterwards. none of the merge logic built into Designer is publicly documented,
AFAIK.

Just take a look at any Designer project's
../Model/IdentiyManager/*ModelerNodes_ file. It basically contains the Modeler
layout, the way your ID Vault, Diversets and Apps are arranged in Modeler. Do
you know how to merge this file if you added a driver in your working copy,
moved some around a bit and someone else did the same in his copy?

As much as I would love to move to git, I think it won't be an overall
real-world improvement over the integrated svn client as long as you have use
an external client. If you really take that route, please come back and share
your experience in a few month!

--
http://www.is4it.de/en/solution/identity-access-management/
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.