Git Product home page Git Product logo

propatcher's People

Contributors

cyborgmas avatar jamierocks avatar lexmanos avatar litarvan avatar ramidzkh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

propatcher's Issues

/dev/null on Windows can't be found

Pretty simple error, on Windows 10 :

Caused by: java.io.FileNotFoundException: \dev\null (Le chemin dÆaccÞs spÚcifiÚ est introuvable)
at com.cloudbees.diff.Diff.diff(Diff.java:25)
at com.cloudbees.diff.Diff$diff.call(Unknown Source)
at uk.jamierocks.propatcher.task.MakePatchesTask.process(MakePatchesTask.groovy:97)
at uk.jamierocks.propatcher.task.MakePatchesTask$process.callCurrent(Unknown Source)
at uk.jamierocks.propatcher.task.MakePatchesTask.doTask(MakePatchesTask.groovy:51)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
... 75 more

Property 'ignoreWhitespace' has redundant getters

When using any Gradle version greater than 7.0, Gradle refuses to run any MakePatchesTasks with the given error

A problem was found with the configuration of task ':makePatches' (type 'MakePatchesTask').
  - In plugin 'uk.jamierocks.propatcher' type 'uk.jamierocks.propatcher.task.MakePatchesTask' property 'ignoreWhitespace' has redundant getters: 'getIgnoreWhitespace()' and 'isIgnoreWhitespace()'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

execute bit lost in target directory

I am experiencing a situation where executable files in the root directory are no longer executable in the target directory after running ./gradlew applyPatches

Here's my config:

plugins {
    id 'uk.jamierocks.propatcher' version '1.2.3'
    id 'java'
}

patches {
  root = file("${buildDir}/tensorflow") // This is a directory
  target = file("${buildDir}/tensorflow.patched") // This is also a directory
  patches = file('patches') // This is again a directory
}

There is a single patch in the patch directory.

build@tensorflow-build:/src/acadia/tensorflow_gradle$ ls -l patches/
total 4
-rw-r--r-- 1 build build 1572 Jan  8 21:55 build_raspberry_pi.sh.patch.txt

./gradlew applyPatches results in the execute bit being lost on all executable files in the target directory. For example:

in the root directory:
-rwxr-xr-x 1 build build 231 Jan 9 14:13 configure

in the target directory:
-rw-r--r-- 1 build build 231 Jan 9 14:13 configure

umask shows:

build@tensorflow-build:/src/acadia/tensorflow_gradle$ umask
0022

so I don't believe that is the issue. Any ideas? Thanks.

Gradle 7: Task Inputs not annotated correctly.

> Task :1.16.5:projectjoinedReset
Property 'root' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Property 'target' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.

> Task :1.16.5:projectjoinedApplyPatches
Property 'patches' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.

> Task :1.16.5:projectclientMakePatches
Property 'patches' has @Input annotation used on property of type 'File'. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Property 'root' has @Input annotation used on property of type 'File'. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Property 'target' has @Input annotation used on property of type 'File'. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.

Whenever you get around to it. Not that big of a deal.

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.