Giter Club home page Giter Club logo

libvcs4j's People

Contributors

dependabot[bot] avatar dosovo avatar holgerknoche avatar mbahr94 avatar msteinbeck avatar rsmidt avatar

Stargazers

 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  avatar  avatar

libvcs4j's Issues

Version 1.7.0 fails to compile with Gradle, due to incorrect class file versions

I've added LibVCS4j 1.7.0 as a dependency for a gradle project on Windows, testing the version from both Bintray's jcenter repository and the Maven Central repository. It fails to compile, giving the message -

bad class file: C:\*location of class files in gradle cache*(de/unibremen/informatik/st/libvcs4j/VCSEngineBuilder.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

The same project compiles successfully with version 1.6.0.
I've attached a basic example Gradle project example.zip, generated with gradle init, updating build.gradle to add the dependency, and src/main/java/example/Library.java to use the VCSEngineBuilder class, which causes the error message above. The same error occurs with other classes, so my guess is the problem is with the configuring of the versions in the release. To build the project and recreate the problem, run ./gradlew build in the example directory.

Comparison of unrelated commits in the presence of multiple concurrent branches

When a revision range contains a merge of two or more concurrent branches, unrelated commits from these branches are considered as related when they interleave in time. For instance, consider the following situation: commit c1@branch b2@timestamp t1, c2@b2@t2 and c3@b1@t3 such that t1 < t2 < t3 and there are no commits between these three. Furthermore, branches b1 and b2 are merged in a later commit within the range. Then, iterating over the revision range will visit the three commits in the order of their timestamps, and the diff at commit c2 will be created with respect to c3 although these two commits are unrelated, resulting in wrong diffs.

Range: apply does not check file for removals

The following code must be removed from Range#apply:

// Ignore removed files.
if (fileChange.getType() == FileChange.Type.REMOVE) {
    return Optional.empty();
}

Removals are already checked by Position#apply.

Replace commons-coded 1.9 with 1.11

Grab is unable to fetch commons-codec 1.9 from Maven Central. There are no issues with version 1.11, though. Since being a transitive dependency, we to convince gradle to overwrite version 1.9 with 1.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.