Renato Golin via llvm-dev
2016-Jun-28 09:21 UTC
[llvm-dev] Git Move: GitHub+modules proposal
On 28 June 2016 at 06:55, NAKAMURA Takumi <geek4civic at gmail.com> wrote:> It has also submodules. > https://github.com/llvm-project/llvm-project-submodule > > Both llvm-project(-tree) and (-submodule) have refs/notes/commits.Nice! Can you try a server hook that will add an auto-increment number from submodules commits? cheers, --renato
Mehdi Amini via llvm-dev
2016-Jun-28 15:46 UTC
[llvm-dev] Git Move: GitHub+modules proposal
> On Jun 28, 2016, at 5:21 AM, Renato Golin via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > On 28 June 2016 at 06:55, NAKAMURA Takumi <geek4civic at gmail.com> wrote: >> It has also submodules. >> https://github.com/llvm-project/llvm-project-submodule >> >> Both llvm-project(-tree) and (-submodule) have refs/notes/commits. > > Nice! Can you try a server hook that will add an auto-increment number > from submodules commits? >Why? Assuming we don’t have branches, there was many mention that the id can be computed from the number of commits in the history. — Mehdi> cheers, > --renato > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Renato Golin via llvm-dev
2016-Jun-28 23:46 UTC
[llvm-dev] Git Move: GitHub+modules proposal
On 28 June 2016 at 16:46, Mehdi Amini <mehdi.amini at apple.com> wrote:> Why? Assuming we don’t have branches, there was many mention that the id can be computed from the number of commits in the history.We have branches (release_nm) and we may want them to be in the same sequential numbering. So, I'm assuming this hook gets executed every time a new commit arrives, but they're sub-modules, would they also notify the parents? If this works in a trigger mode (every commit), not a timed basis (every 5 minutes), then it could work well. cheers, --renato