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

modules: prepare modules list #1041

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmyger
Copy link
Collaborator

@dmyger dmyger commented Nov 28, 2024

Find possible modules by manifest.yaml or main executable.

Closes #1014

@dmyger dmyger changed the title Dmyger/gh-1014-prepare-modules-list modules: prepare modules list Nov 28, 2024
@dmyger dmyger force-pushed the dmyger/gh-1013-tt_cli_modules_path-env branch from 7db5343 to 32f96aa Compare November 28, 2024 13:51
@dmyger dmyger force-pushed the dmyger/gh-1014-prepare-modules-list branch from 952086d to 82e3317 Compare November 28, 2024 13:52
@dmyger dmyger force-pushed the dmyger/gh-1013-tt_cli_modules_path-env branch from 32f96aa to b8a7313 Compare November 28, 2024 13:58
@dmyger dmyger force-pushed the dmyger/gh-1014-prepare-modules-list branch from 82e3317 to dba2492 Compare November 28, 2024 13:59
Copy link
Contributor

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

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

I don't like the idea of ​​implementing something without an ability to test it. In the future, we need to split an issues or API design taking into account that you will need to write tests at each step

Ok now.

Comment on lines +86 to +94
// for name, path := range externalModules {
// commandPath := rootCmd.Name() + " " + name
// modulesInfo[commandPath] = &ModuleInfo{
// IsInternal: false,
// ExternalPath: path,
// }
// }
Copy link
Contributor

Choose a reason for hiding this comment

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

The code is unused and should be removed than.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Add a comment to don't forget adjust the commented code.

Copy link
Contributor

@oleg-jukovec oleg-jukovec Dec 13, 2024

Choose a reason for hiding this comment

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

Please, the information into the issue. We don't need such comments in the code since we use CVS and can look back in history.

Copy link
Contributor

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

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

There is something broken in tests.

@dmyger dmyger force-pushed the dmyger/gh-1013-tt_cli_modules_path-env branch from b8a7313 to 2378be6 Compare November 28, 2024 14:31
@dmyger dmyger force-pushed the dmyger/gh-1014-prepare-modules-list branch from dba2492 to bf17d85 Compare November 28, 2024 14:31
@dmyger dmyger force-pushed the dmyger/gh-1013-tt_cli_modules_path-env branch from 2378be6 to 7d17211 Compare December 2, 2024 15:53
@dmyger dmyger force-pushed the dmyger/gh-1014-prepare-modules-list branch from bf17d85 to 07878bf Compare December 2, 2024 15:55
@dmyger dmyger force-pushed the dmyger/gh-1013-tt_cli_modules_path-env branch 2 times, most recently from 288d595 to 95a94bb Compare December 6, 2024 07:32
@dmyger dmyger marked this pull request as draft December 6, 2024 10:20
@dmyger dmyger force-pushed the dmyger/gh-1013-tt_cli_modules_path-env branch from 95a94bb to db292f8 Compare December 6, 2024 11:28
@dmyger dmyger force-pushed the dmyger/gh-1014-prepare-modules-list branch from 07878bf to f2d4f80 Compare December 6, 2024 11:28
@dmyger dmyger force-pushed the dmyger/gh-1013-tt_cli_modules_path-env branch from db292f8 to 934c56e Compare December 9, 2024 09:41
Base automatically changed from dmyger/gh-1013-tt_cli_modules_path-env to master December 12, 2024 10:07
@dmyger dmyger force-pushed the dmyger/gh-1014-prepare-modules-list branch from f2d4f80 to 6ca0169 Compare December 13, 2024 12:55
Find possible modules by manifest.yaml or main executable.

Closes #1014
@dmyger dmyger force-pushed the dmyger/gh-1014-prepare-modules-list branch from 6ca0169 to 4639af5 Compare December 13, 2024 13:05
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.

2 participants