Skip to content

style(mapping): format generated timezones and add license header - #155

Merged
nickkkccc merged 1 commit into
masterfrom
northarea/timezones-format
Nov 6, 2026
Merged

nickkkccc merged 1 commit into
masterfrom
northarea/timezones-format

Conversation

@NorthArea

Copy link
Copy Markdown
Collaborator

spotless-check fails on master since e954851 and on every branch rebased onto it (#139, #154): e954851 regenerated TarantoolTimezones.java without the license header and with tab indentation. The job has continue-on-error, so the workflow stays green and the failure is easy to miss.

  • style(mapping): format generated timezones and add license header — the file is formatted with google-java-format 1.28.0 (the version from pom.xml) and gets the license header; the maps are unchanged (the file is identical to e954851 ignoring whitespace and the header). gen-timezones.sh now emits the header and the same layout, so a regenerated file passes spotless:check as is: the script run on timezones.h from the same Tarantool commit produces this file byte for byte.

spotless-check падает на master начиная с e954851 и на всех ветках, перебазированных на него (#139, #154): e954851 перегенерировал TarantoolTimezones.java без шапки лицензии и с отступами табами. У задания continue-on-error, поэтому workflow остаётся зелёным и падение легко пропустить.

  • style(mapping): format generated timezones and add license header — файл отформатирован google-java-format 1.28.0 (версия из pom.xml) и получил шапку лицензии; таблицы не изменились (без учёта пробелов и шапки файл совпадает с e954851). gen-timezones.sh теперь выдаёт шапку и ту же раскладку, так что перегенерированный файл проходит spotless:check без правок: скрипт на timezones.h из того же коммита Tarantool выдаёт этот файл байт в байт.

I haven't forgotten about:

  • Tests
  • Changelog
  • Documentation
  • JavaDoc was written
  • Commit messages comply with the guideline
  • Cleanup the code for review. See checklist

e954851 regenerated TarantoolTimezones.java without the license header and
with tab indentation, so spotless:check fails on master and on every branch
based on it. Format the file with google-java-format 1.28.0 and make
gen-timezones.sh emit the same layout, so a regenerated file passes as is.
@NorthArea
NorthArea requested a review from nickkkccc November 6, 2026 07:55
@nickkkccc
nickkkccc merged commit 8adfe1a into master Nov 6, 2026
6 checks passed
@nickkkccc
nickkkccc deleted the northarea/timezones-format branch November 6, 2026 08:32
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