Giter VIP home page Giter VIP logo

Comments (5)

mikelalcon avatar mikelalcon commented on May 16, 2024

HI Pavel,

IIUC what you are saying is that info says there are changes but then the migration produces no changes. Do you use the same config for info and migration? Same destination url and branch?

from copybara.

pavelmigolinets avatar pavelmigolinets commented on May 16, 2024

Hi Mikel,
I'm sorry for the long time with no response.

yes, I'm using same config for both. I'm using build of copybara from - 20.11.2019. It's working fine for regular(CMD) use case, but for programmatic way I'm getting list of changes available for migration.

Exception type for the migration is EmptyChangeException which came from the condition if (migratedChanges == 0) -> WorkflowMode.java:218

from copybara.

mikelalcon avatar mikelalcon commented on May 16, 2024

Hi Pavel,

Sorry for the late response. I cannot thing of a reason for this to happen. info CMD and getInfo() should return the same stuff as they are calling the same code. Since I don't have the config and you already do some development with Copybara as a library, would you mind debugging both and see where is the difference?

info CMD calls getInfo at: java/com/google/copybara/InfoCmd.java line 159

from copybara.

pavelmigolinets avatar pavelmigolinets commented on May 16, 2024

Hi Mikel,

sorry for the long time no response. I checked everything again, and it was my bad from the beginning with no providing last-rev param to info command.

Both CMD and Programmatic way respecting last-rev param and showing the changes list according to the value provided. I'm trully sorry for waisting your time on this.

Thanks for the help!

from copybara.

mikelalcon avatar mikelalcon commented on May 16, 2024

Great to hear! Let us know if you find any other issue.

Cheers,
Mikel.

from copybara.

Related Issues (20)

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.