Giter Site home page Giter Site logo

Comments (24)

CameronWills avatar CameronWills commented on May 27, 2024

I don't understand the bug. Cannot seem to replicate..

I've tried adding in the connectionStrings node on the demo page (https://fatantelopetester.apphb.com/) and it appears to generate the correct output?

Are you able to provide an example web configs (source and target)?
Obviously remove any private and sensitive information from the configs first..

Thanks,
Cameron

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

[File removed]

FatAntelope.exe SampleWeb.config Web.Config webxdt.config finalweb.config is the call i made.

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

Hi Camerone, sorry to be a pest, is there any outlook on this?

from fatantelope.

CameronWills avatar CameronWills commented on May 27, 2024

Hi Rafik,

I've pushed a fix in the latest version: https://github.com/CameronWills/FatAntelope/releases/tag/0.2.10

I'll close this issue now, be feel free to reopen if still experiencing problems.

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

I have a question, is everything in the target file always preserved?

from fatantelope.

CameronWills avatar CameronWills commented on May 27, 2024

Yes. That is the intention..
Applying the 'patch' file to the 'source' file should generate the same/equivalent XML as the 'target' file. With the one exception: nodes in the transformed file can appear in a different order to the target file.

Are you seeing some nodes not being preserved?

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

CameronWills avatar CameronWills commented on May 27, 2024

The purpose of the tool is to generate a patch, which is then used to convert 'source' into 'target'.

In your example, if there are XML nodes that exist in SampleWeb.config but don't exist in Web.config - they will be removed when the webxdt.config is applied.

Once the webxdt.config is applied to SampleWeb.config, the <basicHttpBinding> section` is the same as it appears in the 'Web.config'. Assuming you're using the new version 0.2.10 to generate the patch

Does that make sense?

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

CameronWills avatar CameronWills commented on May 27, 2024

Yep, the bugs in 0.2.9 were affecting the that <basicHttpBinding> node as well.

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

I need to know if i need to make the code that will call the FatAntelope.exe freely available to the public or if I can just refer back to this site and the original algorithm implementation's site.

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

Cameron sorry once again for pestering you but do you have an answer for two comments above?

from fatantelope.

CameronWills avatar CameronWills commented on May 27, 2024

The license terms and conditions were from the original developer of the X-Diff algorithm and source code, which I ported from Java to C#. The X-Diff algorithm handles the comparison of XML documents.

From what I understand of condition 3 of their license, the source code of any binary that uses X-Diff, or it's derivatives, must be freely available and reproduce the license copyright and conditions..

So I think this would prohibit using FatAntelope being used in a closed-source or commercial product.

May I ask what you're building?

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

CameronWills avatar CameronWills commented on May 27, 2024

Ok, from my understanding of the license, the conditions relate to redistribution of X-Diff derivatives.
So you're ok to use the FatAntelope privately within your organisation - as long as you're not redistributing software containing the X-Diff algorithm to third parties, or particularly if you're trying to commercially sell a piece of software that contains it.

From what you describe, you're using FatAntelope as part of your build / deployment process for your web apps? But the webapps themselves do not contain or use it ?

In this scenario, most people would use FatAntelope one time only, generate the patch file (web.release.config), and then include it webapp project (.csproj) underneath web.config. Then your developers would maintain this file going forward, alongside the web.config:

image

But I might be mis-understanding your use.

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

CameronWills avatar CameronWills commented on May 27, 2024

I'm not aware of a commercial license - you would need to contact the creator of X-Diff for their commercial licensing options..

Alternatively, you could offer the source code for your updater utility to your customers if they asked for it? If there is no risk to your business of loosing valuable intellectual property by sharing the source code? And then you would also just reproduce the copyright/license somewhere in the utility output?

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

CameronWills avatar CameronWills commented on May 27, 2024

No problem. Thanks for the feedback and sorry I cant be more helpful. I'm by no means a licensing guru, so feel free to get a second opinion. I chose X-Diff because it seemed like the simple implementation for unordered XML diffing.

What feature we're you referring to? Perhaps something worth implementing for the community?

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

rafiksamman1982 avatar rafiksamman1982 commented on May 27, 2024

from fatantelope.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.