Refactor argilla/ directory to extralit/#78
Merged
Conversation
- Move argilla/ directory to extralit/ at repo root - Update Tiltfile to reference new extralit/ directory paths - Update GitHub workflows (argilla.yml, argilla.docs.yml) to use extralit/ paths - Update README.md files to reference new logo paths - Maintain backward compatibility with argilla module structure inside extralit/ Fixes #62
- Modify .gitignore to exclude extralit/site instead of argilla/site - Update .pre-commit-config.yaml to target extralit paths for various hooks - Adjust codecov.yml to point to extralit source directories - Change devcontainer settings to use extralit environment files - Update CODEOWNERS to reflect new extralit directory structure - Modify scorecard.yml to track changes in the extralit directory - Update frontend translation links to point to the new extralit demo - Update mkdocs configuration for extralit documentation - Adjust changelog generation script to reference extralit paths - Update deployment helper to use the new extralit template repository
- Deleted `argilla.docs.yml` and `argilla.yml` workflows as part of the transition to the `extralit` structure. - Updated README.md to reflect the new `extralit.yml` workflow name.
…tralit/public-demo" to "argilla/argilla-template-space"
… due to import issues
…81) * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * update CHANGELOG
- Update dependencies in pyproject.toml to align with project requirements
- Modify the `argilla-v1` workflow to include additional commands for installing `extralit`, cleaning the environment, and pruning the cache. - Add a deprecation notice for `argilla-v1` in the CHANGELOG, indicating it will be removed in the next major release in favor of `extralit`.
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the Python SDK directory from argilla/ to extralit/, updating all code, configuration, documentation, and CI references to the new structure while preserving backward compatibility.
- Relocated
argilla/intoextralit/src/argilla/and updated module imports. - Updated configuration files (pyproject, Tiltfile, mkdocs, workflows, codecov).
- Adjusted documentation and changelog paths; removed obsolete test fixtures.
Reviewed Changes
Copilot reviewed 105 out of 582 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| extralit/src/argilla/_helpers/_deploy.py | Update copyright to Extralit Labs |
| extralit/pyproject.toml | Pin versions for python-dotenv, html5lib, tiktoken, pymupdf |
| extralit/mkdocs.yml | Update edit_uri to new docs path |
| extralit/docs/scripts/gen_changelog.py | Adjust repository name and changelog path |
| extralit/docs/getting_started/development_setup.md | Change cd ../argilla to cd ../extralit and update DB path |
| extralit/CHANGELOG.md | Add entries for refactor and cache-dir changes |
| codecov.yml | Redirect coverage paths to extralit/src/... |
| argilla-v1/tests/unit/labeling/text_classification/conftest.py | Remove obsolete fixture |
Comments suppressed due to low confidence (2)
extralit/docs/scripts/gen_changelog.py:21
- The repository string uses a capital "E"; GitHub URLs are case-insensitive but conventionally all lowercase. Consider using
"extralit/extralit"to match other references and avoid confusion.
REPOSITORY = "Extralit/extralit"
jonnywireless
pushed a commit
that referenced
this pull request
Jul 31, 2025
* Refactor argilla/ directory to extralit/ - Move argilla/ directory to extralit/ at repo root - Update Tiltfile to reference new extralit/ directory paths - Update GitHub workflows (argilla.yml, argilla.docs.yml) to use extralit/ paths - Update README.md files to reference new logo paths - Maintain backward compatibility with argilla module structure inside extralit/ Fixes #62 * refactor: update `argilla/` paths to `extralit/` for some CI - Modify .gitignore to exclude extralit/site instead of argilla/site - Update .pre-commit-config.yaml to target extralit paths for various hooks - Adjust codecov.yml to point to extralit source directories - Change devcontainer settings to use extralit environment files - Update CODEOWNERS to reflect new extralit directory structure - Modify scorecard.yml to track changes in the extralit directory - Update frontend translation links to point to the new extralit demo - Update mkdocs configuration for extralit documentation - Adjust changelog generation script to reference extralit paths - Update deployment helper to use the new extralit template repository * refactor: rename argilla Github Actions workflows to extralit - Deleted `argilla.docs.yml` and `argilla.yml` workflows as part of the transition to the `extralit` structure. - Updated README.md to reflect the new `extralit.yml` workflow name. * ci: fix tests by reverting Argilla space template repository from "extralit/public-demo" to "argilla/argilla-template-space" * ci: fix integration tests * refactor: logging.getLogger * refactor: revert changing `argilla.context` from `files` to `storage` due to import issues * Refactor the `CONFIG_REPO_DIR` path from `.argilla/` to `.extralit/` (#81) * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * update CHANGELOG * ci: fix tests in `argilla-v1` - Update dependencies in pyproject.toml to align with project requirements * Update GitHub Actions workflow and CHANGELOG - Modify the `argilla-v1` workflow to include additional commands for installing `extralit`, cleaning the environment, and pruning the cache. - Add a deprecation notice for `argilla-v1` in the CHANGELOG, indicating it will be removed in the next major release in favor of `extralit`. * ci: optimize argilla-v1 workflows * ci: streamline argilla-v1 workflow by removing caching steps * pin pdf package in `extralit` package * readded `argilla-v1/src/extralit` from `v0.2.2` * refactor: `extralit_v1` package name in `argilla_v1` * refactor: `extralit_v1` package name in `argilla_v1` * fix: tests * ci: update argilla-v1 tests --------- Co-authored-by: openhands <openhands@all-hands.dev>
JonnyTran
added a commit
that referenced
this pull request
Jul 31, 2025
* Refactor argilla/ directory to extralit/ - Move argilla/ directory to extralit/ at repo root - Update Tiltfile to reference new extralit/ directory paths - Update GitHub workflows (argilla.yml, argilla.docs.yml) to use extralit/ paths - Update README.md files to reference new logo paths - Maintain backward compatibility with argilla module structure inside extralit/ Fixes #62 * refactor: update `argilla/` paths to `extralit/` for some CI - Modify .gitignore to exclude extralit/site instead of argilla/site - Update .pre-commit-config.yaml to target extralit paths for various hooks - Adjust codecov.yml to point to extralit source directories - Change devcontainer settings to use extralit environment files - Update CODEOWNERS to reflect new extralit directory structure - Modify scorecard.yml to track changes in the extralit directory - Update frontend translation links to point to the new extralit demo - Update mkdocs configuration for extralit documentation - Adjust changelog generation script to reference extralit paths - Update deployment helper to use the new extralit template repository * refactor: rename argilla Github Actions workflows to extralit - Deleted `argilla.docs.yml` and `argilla.yml` workflows as part of the transition to the `extralit` structure. - Updated README.md to reflect the new `extralit.yml` workflow name. * ci: fix tests by reverting Argilla space template repository from "extralit/public-demo" to "argilla/argilla-template-space" * ci: fix integration tests * refactor: logging.getLogger * refactor: revert changing `argilla.context` from `files` to `storage` due to import issues * Refactor the `CONFIG_REPO_DIR` path from `.argilla/` to `.extralit/` (#81) * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * update CHANGELOG * ci: fix tests in `argilla-v1` - Update dependencies in pyproject.toml to align with project requirements * Update GitHub Actions workflow and CHANGELOG - Modify the `argilla-v1` workflow to include additional commands for installing `extralit`, cleaning the environment, and pruning the cache. - Add a deprecation notice for `argilla-v1` in the CHANGELOG, indicating it will be removed in the next major release in favor of `extralit`. * ci: optimize argilla-v1 workflows * ci: streamline argilla-v1 workflow by removing caching steps * pin pdf package in `extralit` package * readded `argilla-v1/src/extralit` from `v0.2.2` * refactor: `extralit_v1` package name in `argilla_v1` * refactor: `extralit_v1` package name in `argilla_v1` * fix: tests * ci: update argilla-v1 tests --------- Co-authored-by: openhands <openhands@all-hands.dev>
jonnywireless
pushed a commit
that referenced
this pull request
Aug 2, 2025
* Refactor argilla/ directory to extralit/ - Move argilla/ directory to extralit/ at repo root - Update Tiltfile to reference new extralit/ directory paths - Update GitHub workflows (argilla.yml, argilla.docs.yml) to use extralit/ paths - Update README.md files to reference new logo paths - Maintain backward compatibility with argilla module structure inside extralit/ Fixes #62 * refactor: update `argilla/` paths to `extralit/` for some CI - Modify .gitignore to exclude extralit/site instead of argilla/site - Update .pre-commit-config.yaml to target extralit paths for various hooks - Adjust codecov.yml to point to extralit source directories - Change devcontainer settings to use extralit environment files - Update CODEOWNERS to reflect new extralit directory structure - Modify scorecard.yml to track changes in the extralit directory - Update frontend translation links to point to the new extralit demo - Update mkdocs configuration for extralit documentation - Adjust changelog generation script to reference extralit paths - Update deployment helper to use the new extralit template repository * refactor: rename argilla Github Actions workflows to extralit - Deleted `argilla.docs.yml` and `argilla.yml` workflows as part of the transition to the `extralit` structure. - Updated README.md to reflect the new `extralit.yml` workflow name. * ci: fix tests by reverting Argilla space template repository from "extralit/public-demo" to "argilla/argilla-template-space" * ci: fix integration tests * refactor: logging.getLogger * refactor: revert changing `argilla.context` from `files` to `storage` due to import issues * Refactor the `CONFIG_REPO_DIR` path from `.argilla/` to `.extralit/` (#81) * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * update CHANGELOG * ci: fix tests in `argilla-v1` - Update dependencies in pyproject.toml to align with project requirements * Update GitHub Actions workflow and CHANGELOG - Modify the `argilla-v1` workflow to include additional commands for installing `extralit`, cleaning the environment, and pruning the cache. - Add a deprecation notice for `argilla-v1` in the CHANGELOG, indicating it will be removed in the next major release in favor of `extralit`. * ci: optimize argilla-v1 workflows * ci: streamline argilla-v1 workflow by removing caching steps * pin pdf package in `extralit` package * readded `argilla-v1/src/extralit` from `v0.2.2` * refactor: `extralit_v1` package name in `argilla_v1` * refactor: `extralit_v1` package name in `argilla_v1` * fix: tests * ci: update argilla-v1 tests --------- Co-authored-by: openhands <openhands@all-hands.dev>
jonnywireless
pushed a commit
that referenced
this pull request
Aug 2, 2025
* Refactor argilla/ directory to extralit/ - Move argilla/ directory to extralit/ at repo root - Update Tiltfile to reference new extralit/ directory paths - Update GitHub workflows (argilla.yml, argilla.docs.yml) to use extralit/ paths - Update README.md files to reference new logo paths - Maintain backward compatibility with argilla module structure inside extralit/ Fixes #62 * refactor: update `argilla/` paths to `extralit/` for some CI - Modify .gitignore to exclude extralit/site instead of argilla/site - Update .pre-commit-config.yaml to target extralit paths for various hooks - Adjust codecov.yml to point to extralit source directories - Change devcontainer settings to use extralit environment files - Update CODEOWNERS to reflect new extralit directory structure - Modify scorecard.yml to track changes in the extralit directory - Update frontend translation links to point to the new extralit demo - Update mkdocs configuration for extralit documentation - Adjust changelog generation script to reference extralit paths - Update deployment helper to use the new extralit template repository * refactor: rename argilla Github Actions workflows to extralit - Deleted `argilla.docs.yml` and `argilla.yml` workflows as part of the transition to the `extralit` structure. - Updated README.md to reflect the new `extralit.yml` workflow name. * ci: fix tests by reverting Argilla space template repository from "extralit/public-demo" to "argilla/argilla-template-space" * ci: fix integration tests * refactor: logging.getLogger * refactor: revert changing `argilla.context` from `files` to `storage` due to import issues * Refactor the `CONFIG_REPO_DIR` path from `.argilla/` to `.extralit/` (#81) * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * refactor: update the `CONFIG_REPO_DIR` path from `.argilla` to .`extralit` - Changed database URLs in .env.dev and .env.test files to point to .extralit directory. - Updated default home path in settings.py to use .extralit. - Modified temporary directory creation in hub.py to reflect new path. - Adjusted logging configuration in models.py. - Updated development setup documentation to reference the new directory structure. - Changed default configuration repository directory in _disk.py to .extralit. * update CHANGELOG * ci: fix tests in `argilla-v1` - Update dependencies in pyproject.toml to align with project requirements * Update GitHub Actions workflow and CHANGELOG - Modify the `argilla-v1` workflow to include additional commands for installing `extralit`, cleaning the environment, and pruning the cache. - Add a deprecation notice for `argilla-v1` in the CHANGELOG, indicating it will be removed in the next major release in favor of `extralit`. * ci: optimize argilla-v1 workflows * ci: streamline argilla-v1 workflow by removing caching steps * pin pdf package in `extralit` package * readded `argilla-v1/src/extralit` from `v0.2.2` * refactor: `extralit_v1` package name in `argilla_v1` * refactor: `extralit_v1` package name in `argilla_v1` * fix: tests * ci: update argilla-v1 tests --------- Co-authored-by: openhands <openhands@all-hands.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses Issue #62 by refactoring the codebase from
argilla/toextralit/directory structure at the repository root.Changes Made
Directory Structure
argilla/directory toextralit/at repo rootargillamodule structure insideextralit/src/extralitmodule structure insideextralit/src/extralit/Configuration Updates
Tiltfileto reference newextralit/directory paths for Docker builds and live updatesargilla.yml: Changed all path references fromargilla/toextralit/argilla.docs.yml: Updated documentation build paths to useextralit/extralit/docs/assets/Build & Deployment
Motivation
As mentioned in Issue #62, this refactoring helps:
Testing
Backward Compatibility
argillaPython module remains accessible within theextralit/directoryFixes #62
Checklist
argilla/directory toextralit/@JonnyTran can click here to continue refining the PR