Giter VIP home page Giter VIP logo

phoenix-diff's Introduction

Phoenix Diff

Build Status

A phoenix application to show the changes between different versions of generated phoenix apps, which makes it easy to upgrade an existing app with latest changes.

Currently hosted at http://www.phoenixdiff.org

Adding a new version of phoenix

To add a new version of phoenix, run the following mix command

mix phx_diff.gen.sample <phoenix_version>

Also, it is necessary to generate samples for other mix phx.new arguments, as shown below:

mix phx_diff.gen.sample <phoenix_version> --binary-id
mix phx_diff.gen.sample <phoenix_version> --no-ecto
mix phx_diff.gen.sample <phoenix_version> --no-html
mix phx_diff.gen.sample <phoenix_version> --no-live
mix phx_diff.gen.sample <phoenix_version> --umbrella

phoenix-diff's People

Contributors

aaronrenner avatar davidoliver avatar dependabot[bot] avatar john-griffin avatar kevinschweikert avatar navinpeiris avatar rkenzhebekov avatar shritesh avatar tonnenpinguin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

phoenix-diff's Issues

Add Options

Hi there,

it would be great if there were some options when using PhoenixDiff:

  • Switch between regular and umbrella application
  • Add an example resource to see how the generated content has changed between versions

These options would allow to cover all changes between versions, however every release of Phoenix would then need four versions:

  1. Regular Phoenix App
  2. Umbrealla App
  3. Regular Phoenix App + Example Resource
  4. Umbrella App + Example Resource

The Example resource should be similar across versions and include all supported data types.

Bad diff?

Hi, I'm reviewing this and I noticed this diff. Seems like somehow a package.json diff is blended into one for this binary file?
image

Repro: diff 1.5.13 -> 1.6.0 but I see it in other diffs too.

See changed files 1.3.0-rc.0 to 1.3.0-rc.2 fails

Hey @navinpeiris

Love this tool, really simple and great for upgrading. I just noticed a small bug.

If you're on this page:
https://www.phoenixdiff.org/d2h-053433?source=1.3.0-rc.0&target=1.3.0-rc.2

And then click "show" for Files changed, the interaction one would expect is that test/support/data_case.ex for example should open a view showing the file.

Unfortunately, clicking the link links you here:

https://www.phoenixdiff.org/d2h-053433?source=1.2.1&target=1.3.0-rc.2

Which is not the file in particular instead a list of all files going from 1.2.1 to 1.3.0-rc.2, accidentally switching the source.

So the two bugs are:

  1. The source switches
  2. You can't view a file in particular

Is it possible to have 1.6.0-rc?

I love this website, and with 1.6.0-rc containing a lot of changes and still not out the door, I'd love to have a look at what changed in the meantime, so I can get ready when it releases.

Add Gernerated Contents

Currently it's not possible to see how the output of generators changes from version to version. What about adding some resources with the generators to show what the "recommended" approach looks like?

Add link to target file

Feature request: Add a link to the target file on GitHub so it's easier to copy big changes

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.