Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

chore: Add basic documentation + essential GitHub workflows#1

Merged
courtneypacheco merged 1 commit intomainfrom
add-essential-workflows-and-documentation
Feb 18, 2025
Merged

chore: Add basic documentation + essential GitHub workflows#1
courtneypacheco merged 1 commit intomainfrom
add-essential-workflows-and-documentation

Conversation

@courtneypacheco
Copy link
Contributor

Documentation updates:

  • Update README.md
  • Add CONTRIBUTING guide
  • Add MAINTAINERS guide

Git template updates:

  • Add issue templates for: bug reports, design changes, and feature requests
  • Add pull request template

Essential GitHub workflows:

  • Add lint.yml for running lint checks
  • Python linting: add MyPy and PyLint
  • Shell linting: Add shellcheck

Configurations:

  • Add Mergify config for Mergify bot
  • Add .isort.cfg and .pylintrc for Python formatting configs
  • Add yamllint.yaml for formatting YAML files

Testing:

  • Add tox.ini for setting up testing environments

Documentation updates:
  - Update README.md
  - Add CONTRIBUTING guide
  - Add MAINTAINERS guide

Git template updates:
  - Add issue templates for: bug reports, design changes, and feature requests
  - Add pull request template

Essential GitHub workflows:
  - Add lint.yml for running lint checks
  - Python linting: add MyPy and PyLint
  - Shell linting: Add shellcheck

Configurations:
  - Add Mergify config for Mergify bot
  - Add .isort.cfg and .pylintrc for Python formatting configs
  - Add yamllint.yaml for formatting YAML files

Testing:
  - Add tox.ini for setting up testing environments

Signed-off-by: Courtney Pacheco <6019922+courtneypacheco@users.noreply.github.com>
Copy link
Contributor Author

@courtneypacheco courtneypacheco left a comment

Choose a reason for hiding this comment

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

Some info about this PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Taken directly from: https://github.com/instructlab/instructlab/blob/main/.yamllint.yaml

The only difference is I removed the ignore part of the config

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Taken directly from: https://github.com/instructlab/instructlab/blob/main/.pylintrc

No modifications made here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Taken directly from: https://github.com/instructlab/instructlab/blob/main/.isort.cfg

This typically executes on Python code. I took the exact contents, except removed the skip_glob piece because we don't need that exception (yet).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Taken directly from here: https://github.com/instructlab/instructlab/blob/main/.github/mergify.yml

I removed anything instructlab specific, like references to instructlab/src, src/instructlab/profiles, etc.. I also removed spell checking since I don't think we need a spell checker for this repo at this time.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Taken directly from: https://github.com/instructlab/instructlab/blob/main/.github/workflows/lint.yml

I removed instructlab-specific configs, like references to src/instructlab/profiles.

I also removed security lint... for now! I will add that back in a future commit.

Copy link

Choose a reason for hiding this comment

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

I will add that back in a future commit. do we want to log a ticket to track it ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we definitely want an issue! I can file one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mostly lifted from here: https://github.com/instructlab/instructlab/blob/main/tox.ini

I removed:

  1. functional tests (since we don't have them)
  2. fastlint (since we don't need that right now)
  3. tomllint (since we're not building a package)
  4. docs (since we're not building any docs)

- or:
- files~=\.py$
- files~=^requirements.*\.txt$
- files=tox.ini
Copy link

Choose a reason for hiding this comment

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

Would we be in need of verifying tox related files ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Short answer: yes.

Long answer:

tox.ini contains configs for linting, like ruff, mypy, etc. So if someone edits tox.ini, they are likely editing linting configs.

I took the tox.ini file from our core repo (instructlab/instructlab) and modified it here. In the core repo, this file is used to define test envs and also run commands related to packaging and publishing (specifically wheel building and sphinx docs generation). Since I've removed all the packaging and publishing pieces, the only pieces left are related to testing.

@kami619
Copy link

kami619 commented Feb 18, 2025

I think apart from the nit picks, it looks good to me. @courtneypacheco.

Coming to the access to this repository, would the maintainers list be derived from Organization level or should the list be different ?

@courtneypacheco courtneypacheco added chore You gotta do what you gotta do CI/CD Affects CI/CD configuration documentation Improvements or additions to documentation labels Feb 18, 2025
Copy link

@danmcp danmcp left a comment

Choose a reason for hiding this comment

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

Approving as a first pass to get the repo bootstrapped

@courtneypacheco courtneypacheco merged commit 95e615c into main Feb 18, 2025
1 check passed
@courtneypacheco courtneypacheco deleted the add-essential-workflows-and-documentation branch February 18, 2025 23:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

chore You gotta do what you gotta do CI/CD Affects CI/CD configuration documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants