Branchout / branchout

A manyrepo management tool to allow for local monorepo projecting while keeping everything in distinct repositories
Apache License 2.0
9 stars 2 forks source link

Docs and customised paths #69

Open fredcooke opened 3 years ago

fredcooke commented 3 years ago

First 3 commits should be good improvements. Last one is a work in progress and clearly marked as such. Please amend the work in the last one to fill in the gaps and make it accurate about what's possible now with those two files/what you can do with those two files, and any further existing examples. Then we can amend the docs and tests to cover new scenarios that aren't possible and then implement those. Then final review and merge. Not using broken Microsoft PR draft feature, assigned to me, will reassign once I feel it's ready.

fredcooke commented 3 years ago

@stickycode what is the purpose of the branchoutrc in ${BRANCHOUT_STATE}/as opposed to the one in ~/.config/ ?

fredcooke commented 3 years ago

Outcome on discussions about this from earlier today:

The change will be from a single partially configurable option (I feel like we should keep supporting this provided both aren't specified which would be an error) to two overrides both of which are full paths not relative or composite.

When I'm clear of other higher priority work I'll pick this up again and move it forward.

fredcooke commented 3 years ago

@stickycode what is the purpose of the branchoutrc in ${BRANCHOUT_STATE}/as opposed to the one in ~/.config/ ?

Forgot about this, but probably still a valid question if it ever was one.

stickycode commented 3 years ago

The one in .config is global while the one in the branchout state folder is for a subset of your projections that share caches

On Mon, 28 Jun 2021, 21:16 Fred Cooke, @.***> wrote:

@stickycode https://github.com/stickycode what is the purpose of the branchoutrc in ${BRANCHOUT_STATE}/as opposed to the one in ~/.config/ ?

Forgot about this, but probably still a valid question if it ever was one.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Branchout/branchout/pull/69#issuecomment-869518528, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG4GFE77HZBMN62YU7H6SLTVA4VBANCNFSM43NTYGQQ .

fredcooke commented 3 years ago

Okay, that's fair enough. So I take it that the settings are in this order:

Defaults in scripts Global overrides defaults Local overrides global

Is that right? If not, what is it doing?

stickycode commented 3 years ago

That is correct

On Mon, 28 Jun 2021, 21:25 Fred Cooke, @.***> wrote:

Okay, that's fair enough. So I take it that the settings are in this order:

Defaults in scripts Global overrides defaults Local overrides global

Is that right? If not, what is it doing?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Branchout/branchout/pull/69#issuecomment-869525593, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG4GFF7J3SL5MCOSRXJPETTVA5YHANCNFSM43NTYGQQ .