git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Q] Getting the latest available Linux-kernel version (v3.x.y-stable or v3.x.y-rcX)?

From
SDSedat Dilek <sedat.dilek@gmail.com>
Date
Jul 2, 2013, 11:19 UTC
Message-ID
<CA+icZUU8sA7L_a1sMEqhUXZbzuG5BKRf_NkZSrW_3im1hjRAKg@mail.gmail.com>
In-Reply-To
<CALkWK0mm4iB5Z2t0n7vBkfUNTPR-e0bU7D_V+4DXXEvrNj6R4w@mail.gmail.com>
On Tue, Jul 2, 2013 at 1:06 PM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:
Show 42 quoted lines
> Sedat Dilek wrote:
>> Sometimes I need to bisect a previous Linux-Next version.
>>
>> What I am doing is to have the latest Linux-v3.x.y(-rcX) as stable base.
>>
>> $ git checkout upstream
>> $ git checkout -b Linux-v3.10-rc7 v3.10-rc7
>>
>> Afterwards I checkout the latest Linux-Next remote repository with all
>> its (new) tags (here: next-20130628)
>>
>> $ git checkout -b Linux-Next-v20130628
>> $ git pull linux-next --tags next-20130628
>>
>> How do I get the latest available linux-version in the downgraded
>> (current) Linux-Next local repository (example: I have parallelly
>> Linux-Next-v20130702 and Linux-Next-v20130628)?
>
> I'm not able to understand the question.  I'm not sure why you're
> creating branches from existing tags.  You can easily do:
>
>   $ git bisect start @ v3.10-rc7
>
> (@ is a synonym for HEAD in the latest git)
>
> You can also fetch all tags:
>
>   $ git fetch --tags
>
> and decide what to do with them later:
>
>   $ git merge next-20130628
>
> In the process, next-20130628 hasn't changed: you can still use it as a
> bisect endpoint.
>
>> If I have all -next tags merged-in, I will get always today's 'next-20130702'.
>> Due to my poor git skillz I do this manually for git-bisect sessions.
>
> *scratches head*
>
> Can you try rephrasing your question?
OK, I will try.

The base for my local Linux development GIT repository is the one from Linus (aka upstream/mainline). There-in I pull diverse Linux-next releases where I take its latest Linux-upstream version as the new base.

EXAMPLES:
1. next-20130628 has its base as v3.10-rc7
2. next-20130702 has its base as v3.10
I am using always the version-tags for switching to a new local repo.

As said above I switch to the latest Linux-upstream version of the corresponding -next and then pull in via '--tags' (see above).

Let's say I am on today's next-20130702 and switch back to my local next-20130628 tree, the lastest version-tag available is always 'next-20130702'.

It could be my workflow is somewhere wrong.
Hope this is a bit enlightening.
Regards,
- Sedat -
Previous: Ramkumar Ramachandra
Message 5 of 5 in “[Q] Getting the latest available Linux-kernel version (v3.x.y-stable or v3.x.y-rcX)?”
  1. Sedat DilekJul 2, 2013
  2. Ramkumar RamachandraJul 2, 2013
  3. Sedat DilekJul 2, 2013
  4. Ramkumar RamachandraJul 2, 2013
  5. Sedat DilekJul 2, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.