• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kcl-lang / kpm
42%
main: 42%

Build:
Build:
LAST BUILD BRANCH: bugfix/mod-include
DEFAULT BRANCH: main
Repo Added 03 Jul 2023 06:04AM UTC
Token HiwpsobKIBznWzx29YwzaCtpx64ZS65rd regen
Build 1062 Last
Files 70
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feature/oci-dedupe-multiple-packages
branch: feature/oci-dedupe-multiple-packages
CHANGE BRANCH
x
Reset
Sync Branches
  • feature/oci-dedupe-multiple-packages
  • add-check-api
  • add-default-settings
  • add-dep-aliasname
  • add-dep-api
  • add-dep-link
  • add-dep-resolver
  • add-dep-spec
  • add-docs-link
  • add-downloader
  • add-feature-flag
  • add-fetch-api
  • add-git-branch
  • add-git-commit
  • add-kpm-client
  • add-kpm-quiet
  • add-kpm-update
  • add-license-scan-badge
  • add-missing-msg
  • add-mod-docs
  • add-mod-spec
  • add-more-apis
  • add-more-run-test-case
  • add-more-testcases
  • add-pkg-loader
  • add-push-metadata
  • add-rename
  • add-run-api
  • add-run-test-case
  • add-sanitize-path
  • add-store-api
  • add-switch-update-modfile
  • add-technical-proposal
  • add-test-case
  • add-test-cases-for-init
  • add-test-kcl-issue1788
  • add-tmp-path
  • add-unified-api
  • add-visit-space
  • add-with-logger
  • add-with-opts
  • align-modfile-args
  • api-kpm-pkg
  • bugfix/mod-include
  • bump-helloworld-version
  • bump-kcl-go-0.10.0-rc.1
  • bump-kcl-go-version
  • bump-kcl-lib-090-beta
  • bump-kcl-version
  • bump-kclgo-version
  • bump-kpm-version
  • bump-test-version
  • bump-version
  • bump-version-0.11.2
  • bump_kcl_0.11.1
  • check
  • checker-module
  • checker-proposal
  • checksum-doc
  • chore-bump-container-image-version
  • chore-bump-kcl-go-0.10.0-alpha.2
  • chore-bump-kcl-go-0.10.1
  • chore-remove-error-prefix
  • chore-update-deps
  • clean-deprecated-code
  • clean-deprecated-methods
  • contribution
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/contributor-assistant/github-action-2.4.0
  • dependabot/github_actions/goreleaser/goreleaser-action-5
  • dependabot/github_actions/goreleaser/goreleaser-action-6
  • dependabot/go_modules/github.com/BurntSushi/toml-1.5.0
  • dependabot/go_modules/github.com/containerd/containerd-1.7.11
  • dependabot/go_modules/github.com/containers/image/v5-5.31.1
  • dependabot/go_modules/github.com/containers/image/v5-5.32.0
  • dependabot/go_modules/github.com/containers/image/v5-5.32.1
  • dependabot/go_modules/github.com/containers/image/v5-5.32.2
  • dependabot/go_modules/github.com/containers/image/v5-5.33.0
  • dependabot/go_modules/github.com/containers/image/v5-5.33.1
  • dependabot/go_modules/github.com/containers/image/v5-5.34.0
  • dependabot/go_modules/github.com/containers/image/v5-5.34.1
  • dependabot/go_modules/github.com/containers/image/v5-5.34.2
  • dependabot/go_modules/github.com/containers/image/v5-5.36.0
  • dependabot/go_modules/github.com/containers/image/v5-5.36.1
  • dependabot/go_modules/github.com/elliotchance/orderedmap/v2-2.4.0
  • dependabot/go_modules/github.com/elliotchance/orderedmap/v2-2.5.0
  • dependabot/go_modules/github.com/elliotchance/orderedmap/v2-2.6.0
  • dependabot/go_modules/github.com/elliotchance/orderedmap/v2-2.6.1
  • dependabot/go_modules/github.com/elliotchance/orderedmap/v2-2.7.0
  • dependabot/go_modules/github.com/go-git/go-git/v5-5.11.0
  • dependabot/go_modules/github.com/go-git/go-git/v5-5.12.0
  • dependabot/go_modules/github.com/go-git/go-git/v5-5.13.1
  • dependabot/go_modules/github.com/go-git/go-git/v5-5.13.2
  • dependabot/go_modules/github.com/go-git/go-git/v5-5.16.2
  • dependabot/go_modules/github.com/gofrs/flock-0.12.0
  • dependabot/go_modules/github.com/gofrs/flock-0.12.1
  • dependabot/go_modules/github.com/hashicorp/go-getter-1.7.4
  • dependabot/go_modules/github.com/hashicorp/go-getter-1.7.5
  • dependabot/go_modules/github.com/hashicorp/go-getter-1.7.6
  • dependabot/go_modules/github.com/hashicorp/go-getter-1.7.7
  • dependabot/go_modules/github.com/hashicorp/go-getter-1.7.8
  • dependabot/go_modules/github.com/hashicorp/go-version-1.7.0
  • dependabot/go_modules/github.com/moby/term-0.5.2
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.19.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.19.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.20.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.20.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.20.2
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.21.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.2
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.25.1
  • dependabot/go_modules/github.com/onsi/gomega-1.34.0
  • dependabot/go_modules/github.com/onsi/gomega-1.34.2
  • dependabot/go_modules/github.com/onsi/gomega-1.35.1
  • dependabot/go_modules/github.com/onsi/gomega-1.36.0
  • dependabot/go_modules/github.com/onsi/gomega-1.36.1
  • dependabot/go_modules/github.com/onsi/gomega-1.36.2
  • dependabot/go_modules/github.com/onsi/gomega-1.38.0
  • dependabot/go_modules/github.com/onsi/gomega-1.38.1
  • dependabot/go_modules/github.com/opencontainers/image-spec-1.1.1
  • dependabot/go_modules/github.com/otiai10/copy-1.14.1
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/github.com/urfave/cli/v2-2.27.2
  • dependabot/go_modules/github.com/urfave/cli/v2-2.27.3
  • dependabot/go_modules/github.com/urfave/cli/v2-2.27.4
  • dependabot/go_modules/github.com/urfave/cli/v2-2.27.5
  • dependabot/go_modules/github.com/urfave/cli/v2-2.27.6
  • dependabot/go_modules/github.com/urfave/cli/v2-2.27.7
  • dependabot/go_modules/golang.org/x/mod-0.18.0
  • dependabot/go_modules/golang.org/x/mod-0.19.0
  • dependabot/go_modules/golang.org/x/mod-0.20.0
  • dependabot/go_modules/golang.org/x/mod-0.21.0
  • dependabot/go_modules/golang.org/x/mod-0.22.0
  • dependabot/go_modules/golang.org/x/mod-0.23.0
  • dependabot/go_modules/golang.org/x/mod-0.25.0
  • dependabot/go_modules/golang.org/x/mod-0.26.0
  • dependabot/go_modules/golang.org/x/mod-0.27.0
  • dependabot/go_modules/golang.org/x/net-0.23.0
  • dependabot/go_modules/google.golang.org/protobuf-1.33.0
  • dependabot/go_modules/gotest.tools/v3-3.5.2
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.10.0-beta.1
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.10.0-beta.2
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.10.3
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.10.7
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.10.8
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.11.3
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.9.0-rc.1
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.9.3
  • dependency-graph
  • deprecated-kpm-cmd
  • design-doc
  • design-doc-proxy
  • doc-proposal-cache
  • doc-publish-package
  • enhancement-check-kcl-version-update-kcl.mod
  • enhancement-kpm-run-supports-git
  • entry-set-api
  • feat-add-diag
  • feat-api-opt
  • feat-e2e-test
  • feat-pkg-api
  • feat-pull-diag
  • feat-run-api
  • feat/606
  • feat/import
  • feat_login_http
  • feature/add_overwrite_option
  • filter-schema-type
  • find-submod-by-spec
  • fix
  • fix-322
  • fix-333
  • fix-add-bug
  • fix-add-onlyspec
  • fix-auto-download
  • fix-cache-path
  • fix-circular-dep
  • fix-default-spec-version
  • fix-dep-exist-bug
  • fix-dep-order
  • fix-dep-order-bug
  • fix-dep-path
  • fix-dep-ref-symlink
  • fix-download-bug
  • fix-downloader-tmp
  • fix-e2e-test
  • fix-empty-version
  • fix-entry-override-settings-file
  • fix-failed-ci
  • fix-filesys-bug
  • fix-git-url-scheme
  • fix-go-releaser
  • fix-hyphen-entries
  • fix-issue-587
  • fix-issue-605
  • fix-kcl-run-with-settings
  • fix-kpm-ci
  • fix-kpm-update
  • fix-latest-tag
  • fix-load-bug
  • fix-local-sum
  • fix-log-bug
  • fix-metadata-autoupdate
  • fix-metadata-missing-path
  • fix-missing-dep
  • fix-missing-deps
  • fix-missing-err
  • fix-missing-mod
  • fix-missing-mod-spec
  • fix-missing-print
  • fix-missing-push-tag
  • fix-missing-sum
  • fix-mod-missing
  • fix-module-not-found
  • fix-mvs-feature-flag
  • fix-no-files
  • fix-oci-client
  • fix-oci-replace
  • fix-oci-source-with-settings
  • fix-oci-url
  • fix-parse-modspec
  • fix-pull-auth
  • fix-pull-spec-only
  • fix-pull-url
  • fix-push-failure
  • fix-push-harbor
  • fix-redownload-bug
  • fix-regex-typo
  • fix-rename-dep
  • fix-rename-no-spec
  • fix-root-path-of-local-path
  • fix-run-bug
  • fix-run-issue
  • fix-run-npe
  • fix-run-oci
  • fix-run-workdir
  • fix-test-case
  • fix-test-ci
  • fix-test-suites
  • fix-tests
  • fix-typo
  • fix-update-bug
  • fix-update-npe
  • fix-vendor-redownload
  • fix-win-bug
  • fix-win-ci
  • fix-win-path
  • fix-windows-lock
  • fix-with-modspec
  • full-schema-ty-api
  • git-add-version
  • git-downloader-cache
  • github-action-doc
  • hide-plain-http
  • integrate-checksum
  • issue-124
  • kcl-pkg-export-swagger-v2-api
  • kpm-add-local
  • kpm-add-rename
  • kpm-run-file
  • kpm-run-path
  • lfx-2024
  • lfx-pre
  • lfx-pretest
  • lfx-pretest-part-1
  • main
  • mark-run-deprecated
  • mod-metadata
  • mod_opt_version
  • oci-downloader-cache
  • patch-graph
  • patch-no-tls
  • patch-pretest
  • patch-rename-branch
  • patch-research
  • pathch-new-line
  • preTest
  • pretest
  • pretest-bare-repo
  • proposal/checksum_verification
  • pull-mod-spec
  • push-check-tag
  • push-docker-doc
  • reduce-kcl-pkg
  • refactor-dowloading-git-repo-via-gitDownloader
  • refactor-graph
  • refactor-kpm-repo
  • refactor-mod-init-format
  • refactor-oci-auth
  • refactor-parse-url
  • refactor-pkg-load
  • refactor-resolver
  • refactor-test-case
  • refactor-vendor
  • refs/tags/v0.2.5
  • refs/tags/v0.2.6
  • refs/tags/v0.3.0
  • refs/tags/v0.3.2
  • refs/tags/v0.3.3
  • refs/tags/v0.3.4
  • refs/tags/v0.3.5
  • refs/tags/v0.3.6
  • refs/tags/v0.3.7
  • refs/tags/v0.4.0
  • refs/tags/v0.4.1
  • refs/tags/v0.4.2
  • refs/tags/v0.4.3
  • refs/tags/v0.4.4
  • refs/tags/v0.4.5
  • refs/tags/v0.4.6
  • refs/tags/v0.4.7
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v0.8.0-beta.1
  • refs/tags/v0.8.1
  • refs/tags/v0.8.2
  • refs/tags/v0.8.3
  • refs/tags/v0.8.4
  • refs/tags/v0.8.5
  • refs/tags/v0.8.6
  • registry_port
  • remove-unused-arg
  • remove_unuse
  • rename-fullname-to-reponame
  • rename-go-path
  • replace-kcl-args
  • replace-rename
  • report-when-dependency-graph-contains-cycle
  • rm-acquire-sum
  • rm-calculation-sum
  • rm-diag-prefix
  • rm-fetch-sum
  • rm-indirect-deps
  • rm-kclmod-gen
  • rm-modspec-tostring
  • rm-update-file
  • rm-update-log
  • rm-useless-comments
  • rm-useless-dir
  • rm-useless-test
  • rname_registry
  • run-mod-spec
  • run-non-k
  • run-with-workdir
  • selection-strategy-research
  • sparse-checkout-design-doc
  • sparse-checkout-kcl-mod-add
  • sparse-checkout-repo
  • split-client-pkg
  • split-client-resolver
  • support-add-mvs
  • support-add-url
  • support-git-private
  • support-http-oci
  • support-latest-tag
  • support-new-local
  • support-no-lockfile
  • support-relative-path
  • support-run-mvs
  • support-update-mvs
  • supports-oci-url
  • test-bare
  • test4
  • unified-run-api
  • unify-pull-api
  • update-default-reg
  • update_ghaction
  • ver

05 May 2025 08:46PM UTC coverage: 42.091% (+0.001%) from 42.09%
14845947371

Pull #632

github

asmit27rai
feat(oci): support OCI index with duplicate filenames by deduplicating pulled files

- Add \dedupePulledFiles\ helper in oci/oci.go to rename colliding files in a pull directory
- Invoke \DedupePulledFiles\ after each OCI pull in downloader/downloader.go
- Ensures multiple KCL packages with the same basename (e.g. main.k) do not overwrite one another

Signed-off-by: asmit27rai <raiasmit10@gmail.com>
Pull Request #632: feat(oci): support OCI index with duplicate filenames by deduplicatin…

36 of 71 new or added lines in 2 files covered. (50.7%)

4212 of 10007 relevant lines covered (42.09%)

0.48 hits per line

Relevant lines Covered
Build:
Build:
10007 RELEVANT LINES 4212 COVERED LINES
0.48 HITS PER LINE
Source Files on feature/oci-dedupe-multiple-packages
  • Tree
  • List 70
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
14845947371 feature/oci-dedupe-multiple-packages feat(oci): support OCI index with duplicate filenames by deduplicating pulled files - Add \dedupePulledFiles\ helper in oci/oci.go to rename colliding files in a pull directory - Invoke \DedupePulledFiles\ after each OCI pull in downloader/downlo... Pull #632 06 May 2025 07:32AM UTC asmit27rai github
42.09
See All Builds (1050)

Badge your Repo: kpm

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc