[yocto] Git tool/command problems with YOCTO Open Source repos

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Wed Nov 28 04:56:48 PST 2018


OK, I rest my case. Seems, that I am the only one here using git
describe, and git log using tags.

Could be. ;-)

Thank you all,
Zoran
_______
On Wed, Nov 28, 2018 at 1:53 PM Zoran Stojsavljevic
<zoran.stojsavljevic at gmail.com> wrote:
>
> > This is what your opinion is. Which seems to be vastly overestimating its own importance.
>
> I do not think you understood what I am trying to advertise. The
> unification. In other words:
> If I use kernel.org, I use git tool.
> If I use YOCTO Poky, I would like to use git tool.
> For all YOCTO repos, I would like to use git tool.
>
> Not repo, kas, or other tools. Not particular tools, assigned to
> particular tasks, for particular build systems.
>
> Since I would like to invest time and effort in ONLY one,
> comprehensive tool, and discard all other tools which are not up to
> the complex challenges I have. So this is why I sent initial email, in
> first place,
>
> Thank you,
> Zoran
> _______
> On Wed, Nov 28, 2018 at 12:25 PM Josef Holzmayr
> <holzmayr at rsi-elektrotechnik.de> wrote:
> >
> > Hello Zoran,
> >
> > On Wed, Nov 28, 2018 at 12:00:22PM +0100, Zoran Stojsavljevic wrote:
> > > I am (almost) perfectly aligned with kernel.org, and I (personally)
> > > decided to use git. Since I start understanding importance of Linus.
> > > Linux officers and their Linux philosophy.
> >
> > You are free to choose your workflow as you please.
> >
> > > Now... Answers to your email. KAS (Siemens developed tool by Jan
> > > Kiszka and his crew) is the supplement for the fast/quick building the
> > > YOCTO, to use ONLY rootfs. NOT kernel. NOT aligned with the git tool.
> > > Not applicable for purposes as git.
> >
> > It is a tool that serves one purpose. It does that job well.
> >
> > > On the other note, repo is GOOGLE tool. Promoted by them. Most of the
> > > ARM followers (such as Toradex) use repo tool.
> >
> > Thats what they choose.
> >
> > > You say: I talk to the wrong crew. I think opposite. I am giving the
> > > generic message via YOCTO email list, to avoid hundreds of particular
> > > emails, so we can unify the effort. Which is not minor. Rather
> > > opposite: major.
> > >
> > > Since, I guess, this is of the major importance. For YOCTO survival.
> > > The direction is one: git tool. For all YOCTO developers. IMHO.
> >
> > This is what your opinion is. Which seems to be vastly overestimating
> > its own importance.
> >
> > > Stefano,
> > >
> > > You, as major official representative of U-Boot philosophy (and
> > > Wolfgang's Denk right hand), do not take sides, rather ad-hoc
> > > approach. For you, this topic is not important. Appreciated your help.
> >
> > By now, you are telling other people who have been doing thwir work
> > successfully for decades how to do their jobs.
> > Actually, telling off one of the core contributors and community members
> > with "This is not for you" is plain rude.
> >
> > > I am asking here for much higher awareness. YOCTO better survival in The Future.
> >
> > We are doing quite well at the moment, thank you.
> >
> > So if you have a proposal on how to improve things, feel free to share
> > it. Go ahead and lead on how to use that proposal by doing your own
> > upstream work, showing how emplying your proposal makes it better and
> > more usable.
> >
> > Just getting onto a mailing list and saying "You're doing it wrong
> > because it doesn't suit my workflow", again, is quite rude.
> >
> > Greetz.
> >
> > PS: yes, this mail is explicitly meant to support Stefano.
> >
> > >
> > > Thank you,
> > > Zoran
> > > _______
> > > On Wed, Nov 28, 2018 at 10:52 AM Stefano Babic <sbabic at denx.de> wrote:
> > > >
> > > > Hi Zoran,
> > > >
> > > > On 28/11/18 10:17, Zoran Stojsavljevic wrote:
> > > > > Hello YOCTO people,
> > > > >
> > > > > I would like to use standard git tool while using all the Yocto
> > > > > layers. NOT only Poky repository (which, I believe, works all the way
> > > > > with git tools), but as much as possible with other github proprietary
> > > > > repos and layers. Since I am not able to execute git commands using
> > > > > some number of proprietary repos over github.
> > > > >
> > > > > As example, I'll use meta-bbb repository.
> > > > > https://github.com/jumpnow/meta-bbb.git, after cloning the following
> > > > > happens (chosen, since it has at least dozen of branches):
> > > > >
> > > > > After cloning, I did not get anything from the following commands,
> > > > > being in the root of the meta-bbb repo, namely:
> > > > >
> > > > > [user at fedora28-ssd meta-bbb]$ pwd
> > > > > /home/user/projects2/beaglebone-black/yocto-master/meta-bbb
> > > > > [user at fedora28-ssd meta-bbb]$ git describe
> > > > > fatal: No names found, cannot describe anything.
> > > >
> > > > I understand, but why is this an issue in Yocto project ? The maintainer
> > > > does not use tags and git describe is fast useless.
> > > >
> > > > You should contact layer's maintainer and ask for that. Anyway, outside
> > > > poky, tags are quite unused in layers.
> > > >
> > > > > [user at fedora28-ssd meta-bbb]$ git tag
> > > > > [user at fedora28-ssd meta-bbb]$ git checkout thud
> > > > > Branch 'thud' set up to track remote branch 'thud' from 'origin'.
> > > > > Switched to a new branch 'thud'
> > > > > [user at fedora28-ssd meta-bbb]$ git checkout sumo
> > > > > Switched to branch 'sumo'
> > > > > Your branch is up to date with 'origin/sumo'.
> > > > > [user at fedora28-ssd meta-bbb]$ git describe
> > > > > fatal: No names found, cannot describe anything.
> > > > > [user at fedora28-ssd meta-bbb]$
> > > > >
> > > > > The rationale behind this request: git is the powerful tool which
> > > > > should work and be solely used for YOCTO layers' synchronization. In
> > > > > other words, YOCTO should give some tools' (namely git) unification
> > > > > guidelines in some way. :-)
> > > >
> > > > It is clear that a tool to maintain the layers in sync is required, but
> > > > it is quite independent how the layers (and many are proprietary layers)
> > > > are built. So you can use "repo" or "kas" (my preferred one) for that.
> > > >
> > > > Best regards,
> > > > Stefano Babic
> > > >
> > > > --
> > > > =====================================================================
> > > > DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> > > > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> > > > Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
> > > > =====================================================================
> > > --
> > > _______________________________________________
> > > yocto mailing list
> > > yocto at yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/yocto
> >
> > --
> > ———————————————
> > Josef Holzmayr
> > Software Developer Embedded Systems
> >
> > Tel: +49 8444 9204-48
> > Fax: +49 8444 9204-50
> >
> > R-S-I Elektrotechnik GmbH & Co. KG
> > Woelkestrasse 11
> > D-85301 Schweitenkirchen
> > www.rsi-elektrotechnik.de
> > ———————————————
> > Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
> > Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
> > Ust-IdNr: DE 128592548
> >
> > _____________________________________________________________
> > Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
> > Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
> > USt-IdNr.: DE 128592548
> >


More information about the yocto mailing list