[#6] Add automated database updater #10
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-locode-db#10
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "george.bartolomey/issue6pr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +13,4 @@
git switch -c update-dbs
git add .
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@git.frostfs.info/TrueCloudLab/frostfs-locode-db
git commit -m "Update databases" && \
How about mentioning having some version info in the commit message?
What you do mean by "version"? Date of update or log of changed files?
I mean we have
27 December 2023 UN/LOCODE by Country version 2023-2
at the https://unece.org/trade/cefact/UNLOCODE-Download , either date or2023-2
could serve as a version.Or
232
in theloc232...
filename, it seems related.Not very important, if it is hard to extract, but IMO is useful.
I can introduce this by writing
loc232
totmp/version.txt
. Also we have OpenFlights which doesn't have any releases. Is there any method to get version of OpenFlights databases?Done.
@ -0,0 +14,4 @@
git add .
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@git.frostfs.info/TrueCloudLab/frostfs-locode-db
git commit -m "Update databases" && \
git push origin HEAD:refs/for/master -o title="Automatic update databases" -o topic=update-db
Should be either
Automatically update databases
orAutomatic database update
@george.bartolomey please, change this too
I changed this already.
Oh, right, sorry. Forgejo usually prints
outdated
if the code in line has changed.8511bfa18a
tofa89d45027
fa89d45027
to3feec01b21