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

Integrate Microsoft "features" YAML File to Determine Usable Features for Generated Devcontainer #6

Open
nkkko opened this issue Sep 25, 2024 · 2 comments

Comments

@nkkko
Copy link
Member

nkkko commented Sep 25, 2024

Is your feature request related to a problem? Please describe.
Generating a devcontainer.json requires thoughtful selection of applicable features for various environments. Using the comprehensive list of features from the Microsoft "features" YAML file can help ensure that all usable features are considered and properly included by the AI.

Describe the solution you'd like

  • Fetch and parse the "features" YAML file from Microsoft’s GitHub repository: collection-index.yml.
  • Integrate the parsed data into the generation logic of the devcontainer.json to automatically suggest or include applicable features.
  • Ensure that the feature selection is based on the context and requirements of the GitHub repository being analyzed.

Describe alternatives you've considered

  • Relying on user input for additional features, which may not be as comprehensive or accurate as using a well-maintained source like Microsoft's.

Additional context
The modification should involve:

  • Updating main.py to include a function that fetches and parses the YAML file, feeding it to the context.
  • Enhancing generate_devcontainer_json method to leverage the parsed data for including applicable features.
  • Testing the integration thoroughly to ensure that the chosen features align with the repository's requirements and dependencies.

This feature will enhance the accuracy and comprehensiveness of the generated devcontainer configurations, improving the development experience for users.

@nkkko
Copy link
Member Author

nkkko commented Oct 9, 2024

/bounty $20

Copy link

algora-pbc bot commented Oct 9, 2024

💎 $20 bounty • Daytona

Steps to solve:

  1. Start working: Comment /attempt #6 with your implementation plan
  2. Submit work: Create a pull request including /claim #6 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.

Please respect others by working on PRs that you are allowed to submit attempts to.

e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.

If you can not submit an attempt, you will not receive your payout.

Thank you for contributing to daytonaio/devcontainer-generator!

Add a bountyShare on socials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant