Coder Social home page Coder Social logo

jamesmcnee / migrationbuddy Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 1015 KB

Utility to aid in the migration of endpoints (especially useful for cloud migrations)

License: The Unlicense

JavaScript 11.47% TypeScript 62.95% Shell 0.12% HTML 14.91% CSS 10.55%

migrationbuddy's People

Contributors

dependabot[bot] avatar jamesmcnee avatar

Stargazers

 avatar

Watchers

 avatar

migrationbuddy's Issues

Dynamic Path Generation

It would be good if there was a way to dynamically generate multiple paths from a list of substitutions. If you wanted to hit the same path multiple times with a different I'd for example currently you would need to add multiple definitions to the config file but it would be nice if this could be a bit more dynamic.

Sorting arrays for diff could be smarter

Currently arrays are being sorted by their stringified value, while this is better than comparing unsorted arrays in many situations it is still rather naff.

One solution for this would be to allow a key to be defined in the config that can be used when sorting arrays of objects.

E.g.

{
  "id": 1234,
  "name": "John Smith",
  "friends": [
    {
      "id": 7635,
      "name": "Sally Stephens"
    },
    {
      "id": 6320,
      "name": "Michael Travis"
    }
  ]
}

The id property here would be an ideal way to sort these objects so allowing the user to specify a sort key (or a sort key list that is priority based) would allow for sorting to be smarter.

If no keys are specified we could also look for common keys (such as id).

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.