Commit Graph

8 Commits

Author SHA1 Message Date
Bruce Ashfield
2961677b6a devtools: depreciate the go source-only packages
We are now using vendoring from the upstream repos, or creating
our own vendor directory. We no longer need these source only
recipes.

Add an inherit to each recipe to warn that it will be removed
in the future.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-15 17:17:19 +00:00
Bruce Ashfield
08435d20b1 recipes/classes/scripts: Drop SRCPV usage
bitbake has been enhanced such that SRCPV is no longer needed in
PV to handle updating git hashes and task signatures.

We can simplify our PV by dropping SRCPV

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-24 01:38:21 +00:00
Bruce Ashfield
9094997ac9 go-digest: update to 1.0.0-tip
Update the LICENSE file to adjust to:

  commit b22736afcd4ef34cfbdb8f0009a03566e620d1e4
  Author: Ian Campbell <ijc@docker.com>
  Date:   Mon Apr 30 18:26:12 2018 +0100

      Rename LICENSE.code → LICENSE

      This allows automated tooling (such as license compatibilty checkers) to find
      it.

      Fixes #37.

      Signed-off-by: Ian Campbell <ijc@docker.com>

Bumping go-digest to version v1.0.0-25-g65fac7b, which comprises the following commits:

    c014774 Bump actions/setup-go from 3 to 4
    c68b67b Bump actions/setup-go from 2 to 3
    58786ae Bump actions/checkout from 2 to 3
    ad52b00 Add CODEOWNERS, remove .pullapprove.yml
    e0313d7 build: add latest versions of go to test matrix
    084376b make sure the standard algorithms are registered
    f0839fe chore(ci): setup dependabot for github-actions
    bf89259 Add blake3 to github actions tests
    a63e545 Add BLAKE3 support
    b9e02e0 Implement dynamic hash registration
    41930e4 Remove travis.yml
    ab23730 Add GH Actions
    fd8c156 TestParseDigest: add tests for some potential corner-cases
    43cccb7 Add release notes for v1.0.0
    17eb78b Add copyright to digestset files
    132fb47 Enable static checks
    ecd7b3c digestset: refine some words on unit test
    5dd3cbe digest: migrate to opencontainers/go-digest
    e0bfa0f digest: remove stuttering ParseDigest function
    1cbb645 Typo fixes in comments
    6ac142d Validate digest length on parsing
    45599b9 Add remove and list functions to digest set
    96bf78c Refactor specification of supported digests
    77570c9 Add digest set implementation
    45398c0 MAINTAINERS: add 2, remove 5
    f65ba7f MAINTAINERS: remove Brandon Philips @philips
    264d27f *: add OCI copyright
    9d15c98 README: spit paragraphs to new lines
    51d31fa Update pull approve configuration
    ac2cd61 Update Aaron's e-mail address
    232efbd travis: update list of go versions
    ed218d0 add go.mod
    f35593a MAINTAINERS: fix jonboulle's email
    be46cde updating CoC link and security link
    21d40dc Bump Go versions and use '.x' to always get latest patch versions
    b22736a Rename LICENSE.code → LICENSE
    4ca1301 disallow upper characters (/A-F/) in hex-encoded portion
    678a95e digest: allow validation of urlsafe base64 encoding
    55f6758 digest: update package methods to reflect changes
    5ab10f5 digest: allow separators in algorithm field
    d1caf20 doc: tweak wording around algorithms
    b74b840 *: clarify we only deal with hex-encoded digests
    b6234c3 *: add LICENSE headers to Go files
    0c91155 README: update security email

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-04-05 16:03:56 -04:00
Chen Qi
96870b9712 meta-virt: sync SRC_URIs between k8s and k3s
k3s is using a lot of SRC_URIs and some of them have corrsponding
recipe in meta-virt, which are used by k8s. These components'
SRC_URIs are better to be kept in sync, because this avoids two
local git repos (Yocto supports fetching locally) which are totally
the same. Remove the '.git' suffix from these recipes to sync the
SRC_URIs.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-02-15 15:09:17 -05:00
Martin Jansa
baf9e1a06f global: convert github SRC_URIs to use https protocol
* apply the same also for recipes using PKG_NAME starting
  with github.com which the conversion script doesn't update
  automatically

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-03 09:37:00 -04:00
Bruce Ashfield
ac399ad091 global: add explicit branch to all SRC_URIs
As introduced in the oe-core post:

  https://lists.openembedded.org/g/openembedded-core/message/157623

SRC_URIs without an explicit branch will generate warnings, and
eventually be an error.

We run the provided conversion script to make sure that meta-virt
is ready for the change.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-02 09:57:03 -04:00
Bruce Ashfield
d876cfc5bf global: overrides syntax conversion
OEcore/bitbake are moving to use the clearer ":" as an overrides
separator.

This is pass one of updating the meta-virt recipes to use that
syntax.

This has only been minimally build/runtime tested, more changes
will be required for missed overrides, or incorrect conversions

Note: A recent bitbake is required:

    commit 75fad23fc06c008a03414a1fc288a8614c6af9ca
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Sun Jul 18 12:59:15 2021 +0100

        bitbake: data_smart/parse: Allow ':' characters in variable/function names

        It is becomming increasingly clear we need to find a way to show what
        is/is not an override in our syntax. We need to do this in a way which
        is clear to users, readable and in a way we can transition to.

        The most effective way I've found to this is to use the ":" charater
        to directly replace "_" where an override is being specified. This
        includes "append", "prepend" and "remove" which are effectively special
        override directives.

        This patch simply adds the character to the parser so bitbake accepts
        the value but maps it back to "_" internally so there is no behaviour
        change.

        This change is simple enough it could potentially be backported to older
        version of bitbake meaning layers using the new syntax/markup could
        work with older releases. Even if other no other changes are accepted
        at this time and we don't backport, it does set us on a path where at
        some point in future we could
        require a more explict syntax.

        I've tested this patch by converting oe-core/meta-yocto to the new
        syntax for overrides (9000+ changes) and then seeing that builds
        continue to work with this patch.

        (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)

        Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02 17:17:53 -04:00
Bruce Ashfield
b18acd8bc4 oci: introduce oci-image-tools (and dependencies)
The oci image tools allow the easy manipulation of containers and
bundles.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-02-15 14:57:35 -05:00