Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This workflow is designed to exercise all the GIT functionality for a component

Workflow

Expand
titleSETP 1: Create a component with a new repository
  • Create a component

    • Create a repo for the component

      • Use Customize to change the repo – does it work

        • Remove upstream – now we have no repo is this clear

        • Click [Setup] to add a repo – this worked

        • Make a comment in main & commit – this worked

      • Alternatively create as editable – what happens

        • Created a component with no connected repo – this worked

        • Setup and make a commit same as above

Expand
titleSETP 2: Make an initial commit and inspect the repository
  • Work with a component

    • Changes in main()

      • Make a comment and commit – this worked

        • Confirmed the file is showing in the repo

Expand
titleSETP 3: Make some changes in main() commit & push then inspect the repository
  • Add a comment in main()

  • Commit and push the change

  • Confirm the change is showing in the repo

Expand
titleSETP 4: Add files commit & push then inspect the repository
  • Add a file or files

  • Commit and push the change

  • Confirm the change is showing in the repo

Expand
titleSETP 5: Rename files and directories, commit & push then inspect the repository
  • Add a directory or directories

  • Add a file in each directory

  • Commit and push the changes

  • Confirm the change is showing in the repo

Expand
titleSETP 6: Add some directories containing files, commit & push then inspect the repository
  • Rename a file or files

  • Rename a directory or directories

  • Commit and push the changes

  • Confirm the changes are showing in the repo

Expand
titleSETP 7: Move and copy files between directories, commit & push then inspect the repository <add video>
  • Drag a file from one directory to another

  • Copy and Paste a file using the menu

Expand
titleAdd the component to a collection

See step 5 on this page How do I edit a template component?

  • file & dir names are not case sensitive so cannot rename Test to test

  • If you move the last file out of a dir the empty dir will be deleted = bug imho

  • Add component to a collection

    • This is a lower priority I think = later

  • Add empty directories

    Add directories

    but there is no change to commit – does not commit empty dir

    • Add an empty file in the dir and I can commit the file and the dir indirectly

  • Change directory names – what happens

    • Renaming a dir containing a file – this worked

Other things to consider

  • Merges a bit later