Repository navigation
Closed
Labels
A: example-cmlCML examplesenhancementNew feature or requestpriority-p1Immediate pool of tickets to take and work as part of the next sprint
Description
Example repos are painful to update everywhere (e.g. iterative/cml.dev#178 touches all example repos). Should auto-generate them from one source similar to how https://github.com/iterative/example-repos-dev works.
- https://github.com/iterative/example_cml (/doc/start/github/)
- https://github.com/iterative/cml_base_case (/doc/start/github/, /doc/usage?tab=GitHub#example-projects)
- https://github.com/iterative/cml_dvc_case (/doc/cml-with-dvc, /doc/usage?tab=GitHub#example-projects)
- https://github.com/iterative/cml_tensorboard_case (/doc/usage?tab=GitHub#example-projects)
- https://github.com/iterative/cml_cloud_case (/doc/usage?tab=GitHub#example-projects)
- https://gitlab.com/iterative.ai/example_cml (/doc/start/gitlab/)
- https://gitlab.com/iterative.ai/cml-base-case (/doc/start/gitlab/, /doc/usage?tab=GitLab#example-projects-1)
- https://gitlab.com/iterative.ai/cml-dvc-case (/doc/usage?tab=GitLab#example-projects-1)
- https://gitlab.com/iterative.ai/cml-tensorboard-case (/doc/usage?tab=GitLab#example-projects-1)
- https://gitlab.com/iterative.ai/cml-cloud-case (/doc/usage?tab=GitLab#example-projects-1)
- https://gitlab.com/iterative.ai/cml-runner-example (/; “CML Use Cases” section; “CML Runner Cloud” tab; “GitLab” switch position)
- https://bitbucket.org/iterative-ai/example-cml (/doc/start/bitbucket/)
- https://bitbucket.org/iterative-ai/cml-base-case (/doc/start/bitbucket/, /doc/usage?tab=Bitbucket#example-projects-2)
- https://bitbucket.org/iterative-ai/cml-cloud-case
- runner-related demo repos coming soon (add Bitbucket to home page cml.dev#349)
- https://github.com/iterative/cml-runner-base-case (/)
Metadata
Metadata
Assignees
Labels
A: example-cmlCML examplesenhancementNew feature or requestpriority-p1Immediate pool of tickets to take and work as part of the next sprint
Activity
casperdcl commentedon Dec 30, 2021
perhaps best to do this in the existing https://github.com/iterative/example-repos-dev? Could transfer this issue there /CC @iesahin @jorgeorpinel
[-]auto-generate example repos[/-][+]auto-generate CML example repos[/+]iesahin commentedon Jan 3, 2022
Moved and will be tracking here. Do you have any specific requirements for repositories? Would a simple
generate.bashscript suffice? @casperdcliesahin commentedon Jan 7, 2022
I think you prefer to have a single
generatescript for all these repositories, right? @casperdclcasperdcl commentedon Jan 10, 2022
Yes exactly. Reordered the list a bit to reflect that most should be based on the current https://github.com/iterative/example_cml
iesahin commentedon Jan 11, 2022
Could you select which of the repository branches you'd like to keep? @casperdcl
I'll rename
masterbranches tomain.casperdcl commentedon Jan 12, 2022
@iesahin
mastertomainusing the GH interface so people get redirected appropriatelymaincommit from one unified codebaseI'm open to other suggestions for (3). Basically requirement (2) is quite different from the DVC example repos and I don't see a neat way around it.
iesahin commentedon Jan 13, 2022
Let me investigate the repositories a bit. AFA I understand you want
generate.shto clone one (private?) repository generate other repositories from that by applying the changes.I want to use an approach as simple as possible, you'll keep project files in a repository (
iterative/example_cmlor some base repository) and have a directory structure similar to this:From these, it will apply
cml_dvc_case/mainto the base repository and getmainbranch, then applyexperimentto thismainbranch and getexperimentbranch, etc.Please let me know if there are more complex relationships between the repositories.
casperdcl commentedon Jan 17, 2022
I was thinking:
example_cmlalone as-isexample-cml-generatorwhich has multiple branches, all of which are ultimately rebased onexample_cmlgit push [email protected]:iterative/cml_dvc_case.git cml_dvc_case/experiment:experiment)0x2b3bfa0 commentedon May 17, 2022
Note: as per iterative/cml#890 (comment), https://gitlab.com/iterative.ai/cml-base-case was broken in every imaginable way.
0x2b3bfa0 commentedon Oct 26, 2022
Closing in favor of https://github.com/iterative/cml-examples-dev/issues/6
casperdcl commentedon Oct 27, 2022
@0x2b3bfa0 does this need to be reopened? What's the status?
0x2b3bfa0 commentedon Oct 28, 2022
@casperdcl, it probably doesnt (?) 🤔🐶
0x2b3bfa0 commentedon Oct 28, 2022
The new examples are less broken than the old ones, although that doesn't necessarily1 imply that they work.
Footnotes
Weasel words, read: “they're also broken, but in minor ways by comparison” ↩
casperdcl commentedon Oct 28, 2022
I'd say this was closed in favour of/migrated to https://github.com/iterative/cml-examples-dev/issues/9 instead :)
0x2b3bfa0 commentedon Oct 29, 2022