Re: [PATCH] patman: Support absolute and ~user-relative alias files

2022-01-13 Thread Simon Glass
Em qua., 12 de jan. de 2022 às 18:22, Simon Glass escreveu: > On Fri, 7 Jan 2022 at 16:16, Brian Norris wrote: > > > > Python doesn't naturally support tilde (~) as a user-home marker in > > paths, but git-config does. So we need to resolve it before continuing. > > > > We also shouldn't blindly

Re: [PATCH] patman: Support absolute and ~user-relative alias files

2022-01-13 Thread Otavio Salvador
Em qua., 12 de jan. de 2022 às 18:22, Simon Glass escreveu: > On Fri, 7 Jan 2022 at 16:16, Brian Norris wrote: > > > > Python doesn't naturally support tilde (~) as a user-home marker in > > paths, but git-config does. So we need to resolve it before continuing. > > > > We also shouldn't blindly

Re: [PATCH] patman: Support absolute and ~user-relative alias files

2022-01-12 Thread Simon Glass
On Fri, 7 Jan 2022 at 16:16, Brian Norris wrote: > > Python doesn't naturally support tilde (~) as a user-home marker in > paths, but git-config does. So we need to resolve it before continuing. > > We also shouldn't blindly join the top-level tree with the aliasesfile > path, because it might be

[PATCH] patman: Support absolute and ~user-relative alias files

2022-01-08 Thread Brian Norris
Python doesn't naturally support tilde (~) as a user-home marker in paths, but git-config does. So we need to resolve it before continuing. We also shouldn't blindly join the top-level tree with the aliasesfile path, because it might be an absolute path. This resolves warnings like the following: