Code Monkey home page Code Monkey logo

script's People

Contributors

nathanchance 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

Watchers

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

script's Issues

error: unknown option `sort=-taggerdate'

Hi nathanachance,Nice script! Really thanks for this,Im trying to upstream my kernel, when I run : "./linux-stable.sh -m" I get and error : "error: unknown option `sort=-taggerdate' , And the "Latest kernel version:" its empty, I have the file in the root of my kernel folder

Update cherry-pick to skip empty commits

I love using this script when i need to but the biggest downfall is the manual intervention for cherry-picking empty commits. I looked into it a bit and it seems theres a fairly simple solution that takes advantage of git rev-list. Something like this:

git rev-list --reverse v3.18.139..v3.18.140 . | git cherry-pick --stdin

I have tested it in place of your cherry-pick case statement and it seems to work without a hitch. If you decide to implement it would just make the workflow that much smoother.

3.19.x/4.x is already present in 3.18.140?

I merged up to v3.18.140 from 3.18.122 but I can't seem to get past that version with this script. When I try to go to v3.19 or v4 it complains that they are already in 3.18.140.

Commands and output:

$ ../linux-stable.sh -m -k "`pwd`" -v 3.19.1

=============================
==  Updating linux-stable  ==
=============================

From https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable
 * branch                      HEAD       -> FETCH_HEAD

linux-stable updated successfully!


============================
==  Calculating versions  ==
============================

Current kernel version: 3.18.140

Latest kernel version: 3.18.140

3.19.1 is already present in 3.18.140!
$ ../linux-stable.sh -m -k "`pwd`" -v 3.19

=============================
==  Updating linux-stable  ==
=============================

From https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable
 * branch                      HEAD       -> FETCH_HEAD

linux-stable updated successfully!


============================
==  Calculating versions  ==
============================

Current kernel version: 3.18.140

Latest kernel version: 3.18.140

3.19 is already present in 3.18.140!
$ ../linux-stable.sh -m -k "`pwd`" -v 4

=============================
==  Updating linux-stable  ==
=============================

From https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable
 * branch                      HEAD       -> FETCH_HEAD

linux-stable updated successfully!


============================
==  Calculating versions  ==
============================

Current kernel version: 3.18.140

Latest kernel version: 3.18.140

4 is already present in 3.18.140!

What is up with this?

does support reverting ?

i want to revert my kernel from 3.18.x (linux-3.18.y) to 3.13 or linux-stable-lts is it possible ?

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.