Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Workflow for merging leoAst and ast-token-tools 'branches' #8

@maphew

Description

@maphew

Now and for an indeterminate length into the future, primary development of this toolkit is occuring within the arms of Leo Editor project. Presumably at some point the locus will shift to ast-token-tools. Regardless of where the activity centre is, the two need to kept in sync. This issue is about devising/capturing/documenting that workflow, and keeping it simple as possible so it's actually used.

Part 1: the initial import of leoAst.py was done using ./tools/git-copy.sh. The script creates a git patch file from one repo (e.g. leo-editor) and then applies the patch to another repo (ast-token-tools). The effect is the file or folder now exists in the destination repo with it's entire commit history intact.

I don't understand how it works, just that it does. Presumably merging in future patch sets will necessitate adapting the script or creating a new one so that subsequent 'merges' aren't duplicating history. (Or maybe git is just smart enough on it's own and we don't need to change anything!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions