<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2872</bug_id>
          
          <creation_ts>2012-07-31 17:17:25 +0000</creation_ts>
          <short_desc>fetch/git: Implement gitpkgv functionality in fetcher</short_desc>
          <delta_ts>2026-05-21 15:24:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>    </status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>dvhart</cc>
    
    <cc>kergoth</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23676</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-07-31 17:17:25 +0000</bug_when>
    <thetext>meta-oe currently has gitpkgv.bbclass that was brought in from OE-Classic, which allows the package version to be derived from the git repository itself:

http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/classes/gitpkgv.bbclass

It has been requested that this class be merged into OE-Core; however a more desirable solution is for functionality not already covered by SRCPV to be provided out of the box with the git fetcher.

A suggested outline of an implementation has been posted by Richard:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/017070.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44182</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-06-25 14:08:40 +0000</bug_when>
    <thetext>The old linuxtogo link above is broken; I believe this is the post I was referring to: 

http://lists.openembedded.org/pipermail/openembedded-core/2012-February/056023.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75197</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-07-20 15:28:59 +0000</bug_when>
    <thetext>So some patches got merged a couple of years ago that looked like they might address this:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f03e108fb15aae76d4b6258658e6d540540214f2
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5170177719a93a69cc6c7c1218b3f26eed82d6e0

Not having ever used the gitpkgv class I can&apos;t say whether this resolves the issue, but it has received some attention since this bug was last touched.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>