Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename fullname to reponame #466

Merged
merged 10 commits into from
Aug 27, 2024

Conversation

officialasishkumar
Copy link
Contributor

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

  • N
  • Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

  • N
  • Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test
  • Integration test
  • Benchmark (add benchmark stats below)
  • Manual test (add detailed scripts or steps below)
  • Other

@officialasishkumar
Copy link
Contributor Author

@Peefy PTAL

@coveralls
Copy link

coveralls commented Aug 27, 2024

Pull Request Test Coverage Report for Build 10576183537

Details

  • 17 of 57 (29.82%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.07%) to 40.6%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/client/client.go 15 21 71.43%
pkg/package/package.go 1 11 9.09%
pkg/package/modfile.go 1 25 4.0%
Totals Coverage Status
Change from base Build 10564038883: -0.07%
Covered Lines: 3196
Relevant Lines: 7872

💛 - Coveralls

@Peefy
Copy link
Contributor

Peefy commented Aug 27, 2024

cc @zong-zhe

@zong-zhe
Copy link
Contributor

Hi @officialasishkumar 😄

Add more test cases, for example, compile a KCL package that relies on a git submodule as a dependency and output the correct result.

@officialasishkumar
Copy link
Contributor Author

@zong-zhe Added it. Please have a look.

cc: @Peefy

Copy link
Contributor

@zong-zhe zong-zhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zong-zhe zong-zhe merged commit 655022e into kcl-lang:main Aug 27, 2024
6 checks passed
zong-zhe pushed a commit to zong-zhe/kpm that referenced this pull request Sep 2, 2024
* ParseRepoFullNameFromGitSource remove package

Signed-off-by: Asish Kumar <[email protected]>

* fix kpm add with repo name in full name

Signed-off-by: Asish Kumar <[email protected]>

* fix kpm graph with repo name in full name

Signed-off-by: Asish Kumar <[email protected]>

* fix kpm metadata with repo name in full name

Signed-off-by: Asish Kumar <[email protected]>

* fix unit tests according to the new changes

Signed-off-by: Asish Kumar <[email protected]>

* remove print statement

Signed-off-by: Asish Kumar <[email protected]>

* update tests for metadata

Signed-off-by: Asish Kumar <[email protected]>

* update metadata lock file with repo name

Signed-off-by: Asish Kumar <[email protected]>

* add unit test for vendor mode metadata

Signed-off-by: Asish Kumar <[email protected]>

* add unit test for kcl mod run

Signed-off-by: Asish Kumar <[email protected]>

---------

Signed-off-by: Asish Kumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: kpm add command displaying optimization
4 participants