Re: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified
В списке pgsql-hackers по дате отправления:
| От | Fabien COELHO |
|---|---|
| Тема | Re: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified |
| Дата | |
| Msg-id | alpine.DEB.2.10.1508280733290.16616@sto обсуждение исходный текст |
| Ответ на | Re: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: patch: version_stamp.pl: Add Git commit info to
version if 'git' is specified
|
| Список | pgsql-hackers |
> Salesforce did something similar in their internal build, and TBH I do > not find it a good idea. The basic problem is it's completely > misleading to equate the last commit with the source you actually built > from, because that might not have been an unmodified file set. Indeed. What I've done in an svn-based project is to build the stamp from the Makefile basically when linking, that is really as late as possible. The other good point is that svnversion adds 'M' for modified if the source tree has uncommitted changes. Maybe such an approach could be used with git to have something reliable. -- Fabien.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера