Skip to content

install-rose-meta: support git sources#46

Merged
dpmatthews merged 1 commit intometomi:masterfrom
dpmatthews:rose-meta
Mar 27, 2026
Merged

install-rose-meta: support git sources#46
dpmatthews merged 1 commit intometomi:masterfrom
dpmatthews:rose-meta

Conversation

@dpmatthews
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

@james-bruten-mo james-bruten-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Dave, changes look fine, but I think you need to exclude the .github directory as well give um-meta reads from the top level of the clone

Comment thread usr/local/bin/install-rose-meta Outdated
gh repo clone ${GIT_SOURCE} ${GIT_CLONE} -- -q --depth=1 --branch=${BRANCH}
echo "[INFO] ${PWD}/${GIT_CLONE}: created."
fi
LIST="$(find ${GIT_CLONE}/${DIR} -mindepth 1 -maxdepth 1 -not -path "*/.git" \( -type l -xtype d -o -type d \) -printf '%f\n')"
Copy link
Copy Markdown

@james-bruten-mo james-bruten-mo Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just running this to check, and I noticed it's copied a .github directory into the output directory, I think coming from the um-meta repo as the path is .. It's probably worth adding a -not -path ".github" as well to this line?

Copy link
Copy Markdown
Member Author

@dpmatthews dpmatthews Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted - I've changed it to -not -name '.*' which will exclude any hidden directories.

Copy link
Copy Markdown

@james-bruten-mo james-bruten-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good

@dpmatthews dpmatthews merged commit 58ce64b into metomi:master Mar 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants