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

🐛 Handle case when Running source only #102

Conversation

shawn-hurley
Copy link
Contributor

  • Don't run dep analysis during source-only mode
  • Don't add the dep label selector when source-only mode

Signed-off-by: Shawn Hurley <shawn@hurley.page>
* Skipping dep analsis
* don't add a dep-selector when no dependencies

Signed-off-by: Shawn Hurley <shawn@hurley.page>
@shawn-hurley
Copy link
Contributor Author

It seems like we need to fix the CI tests. As it currently expects dependencies during source-only mode.

Signed-off-by: Shawn Hurley <shawn@hurley.page>
@shawn-hurley shawn-hurley force-pushed the bugfix/release-0.3-no-selectors-source-only branch from 257bb09 to 16cb3d6 Compare July 2, 2024 14:29
@shawn-hurley
Copy link
Contributor Author

Eating the error, is the best we can do for now in 7.0.3. in 7.1 we will handle this with success with errors

@shawn-hurley
Copy link
Contributor Author

sorry 0.3 and 0.5 respectfully upstream

func (r *Scope) AddOptions(options *command.Options) (err error) {
if !r.WithKnownLibs {
func (r *Scope) AddOptions(options *command.Options, mode Mode) (err error) {
if !r.WithKnownLibs && mode.WithDeps {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Remove all other other work, in @jortel fix, this needs to be better documented and add comments

@shawn-hurley
Copy link
Contributor Author

Closing we can re-open if we need

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