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

Change osc.build module to use 'store' object instead of calling core.store_*() functions #1369

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

dmach
Copy link
Contributor

@dmach dmach commented Jul 25, 2023

Also drop the "This may be a project managed entirely via git?" section because it was never triggered due to a bug:

project = store_read_project(Path.cwd())

should have been

project = store_read_project(Path.cwd().parent)

Let's bring it back when a proper git scm support is in place.

@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Patch coverage: 10.34% and no project coverage change.

Comparison is base (eaad34f) 28.85% compared to head (a9af18d) 28.86%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1369   +/-   ##
=======================================
  Coverage   28.85%   28.86%           
=======================================
  Files          45       45           
  Lines       17070    17065    -5     
=======================================
  Hits         4925     4925           
+ Misses      12145    12140    -5     
Files Changed Coverage Δ
osc/commandline.py 19.01% <0.00%> (+0.01%) ⬆️
osc/build.py 6.47% <23.07%> (-0.01%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -639,7 +640,7 @@
return run_external(cmd[0], *cmd[1:])


def main(apiurl, opts, argv):
def main(apiurl, store, opts, argv):

Check notice

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.
….store_*() functions

Also drop the "This may be a project managed entirely via git?" section
because it was never triggered due to a bug:

>>> project = store_read_project(Path.cwd())

should have been

>>> project = store_read_project(Path.cwd().parent)

Let's bring it back when a proper git scm support is in place.
@dmach dmach merged commit 87d1c48 into openSUSE:master Jul 27, 2023
30 of 32 checks passed
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.

1 participant