openedx / openedx/openedx-atlas

feat: support pulling by a specific commit or a date

Open
#48 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
3
Forks
13
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Currently the atlas pull supports a --branch argument which accepts only git branches and tags.

atlas pull could be more verstile if it supported a more generic --revision argument which could accept the following revisions:

  • Git branch e.g. git checkout open-release/quince.master
  • Git tag e.g. git checkout open-release/quince.1
  • Git commit SHA git checkout f098hab11
  • Git branch at a specific date git checkout 'main@{2020-11-06}' as supported by https://linux.die.net/man/1/git-rev-parse

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the implementation of the atlas pull command and its existing --branch argument. Review how Git revisions are passed to the checkout operation, then support the requested branch, tag, commit SHA, and date-based revision forms; verify the behavior with the project's available CLI tests or manual Git cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.