Option to Not Save Associated Transformation Scenarios to Project File

Are you missing a feature? Request it's implementation here.
dreifsnider
Posts: 16
Joined: Thu Aug 30, 2018 10:06 pm

Option to Not Save Associated Transformation Scenarios to Project File

Post by dreifsnider » Fri Nov 15, 2019 5:06 am

Hello,

My team currently uses Git to source all our project files, including the actual Oxygen product file (.xpr).

We store this project file in one repository that we all interact with. When using the project file, we often run into git conflicts for the associated transformation scenarios, because different team members run different transformation scenarios on the same ditamaps.

We'd like the option to not save the associated transformation scenario to the project file. We still want to share the same set of defined transformation scenarios in the project file though.

Thanks!

Daniel

Stereotaxis
Posts: 2
Joined: Thu Sep 26, 2019 3:50 pm

Re: Option to Not Save Associated Transformation Scenarios to Project File

Post by Stereotaxis » Tue Nov 19, 2019 12:10 pm

I am not sure on how to suggest, looking forward to see the suggestions of others.

Radu
Posts: 6811
Joined: Fri Jul 09, 2004 5:18 pm

Re: Option to Not Save Associated Transformation Scenarios to Project File

Post by Radu » Tue Nov 19, 2019 12:40 pm

Hi,

We are aware of this problem and will work to provide on our side settings to control if the scenario associations should be saved inside the project XPR file or not. We'll update this forum thread when a fix becomes available.
In the meantime maybe you can create an XPR document that is committed to Git but the tech writers would need to duplicate it and use the duplicate XPR in the Oxygen application, so that they never commit by mistake changes in the original XPR.
Something like this:

viewtopic.php?p=56011#p56114

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

dreifsnider
Posts: 16
Joined: Thu Aug 30, 2018 10:06 pm

Re: Option to Not Save Associated Transformation Scenarios to Project File

Post by dreifsnider » Thu Nov 21, 2019 2:01 am

Hi Radu,

Thanks for your reply. That's exciting that you're planning on addressing this in a future update and is greatly appreciated!

I implemented the stopgap solution you reference and it appears to be working okay at the moment. To better assist the team, I also implemented a small Git script to automatically copy the "master" project file to the repository's root whenever someone pulls.

Thanks again,

Daniel

Cosmin Duna
Posts: 9
Joined: Wed Dec 12, 2018 5:33 pm

Re: Option to Not Save Associated Transformation Scenarios to Project File

Post by Cosmin Duna » Mon Feb 17, 2020 12:54 pm

Hello Daniel,

Oxygen 22 is out now and it contains a new preferences page named "Project Level Settings" that allows you to control where to save the scenario association:
https://www.oxygenxml.com/doc/versions/ ... tings.html

Best regards,
Cosmin DUNA

chrispitude
Posts: 144
Joined: Thu May 02, 2019 2:32 pm

Re: Option to Not Save Associated Transformation Scenarios to Project File

Post by chrispitude » Thu Feb 20, 2020 5:45 pm

Hi Cosmin, all,

We are using this feature in our Git-based flow and it works great!

chrispitude
Posts: 144
Joined: Thu May 02, 2019 2:32 pm

Re: Option to Not Save Associated Transformation Scenarios to Project File

Post by chrispitude » Thu Apr 02, 2020 6:59 pm

Hi Cosmin,

We have still been getting spurious instances of writers checking modified project files into Git. Today I found that changing the following three filtering settings will cause the project file to be modified:
image.png
image.png (5.6 KiB) Viewed 58 times
Choosing a condition from the condition list does not change the project file, but checking/unchecking any of these three options does.

Can you please add the ability for the currently applied filter/coloring/hiding settings to be stored at the project or user level?

Thanks!

Cosmin Duna
Posts: 9
Joined: Wed Dec 12, 2018 5:33 pm

Re: Option to Not Save Associated Transformation Scenarios to Project File

Post by Cosmin Duna » Fri Apr 03, 2020 10:22 am

Hi Chris,

I registered an internal issue(EXM-45338) and we will add an option to control the storage location for these profiling settings.

Best regards,
Cosmin DUNA

Post Reply