Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Store updater metadata in a single place #7832

Merged
merged 2 commits into from
Feb 8, 2018
Merged

Store updater metadata in a single place #7832

merged 2 commits into from
Feb 8, 2018

Conversation

tomusdrw
Copy link
Collaborator

@tomusdrw tomusdrw commented Feb 7, 2018

Move all version related stuff to util/version/Cargo.toml.
Updater service will be able to read the toml file and extract all required info.

Grouping the data together will also increase the chance that the stuff is actually modified. We had FORK_SUPPORTED_KOVAN: u64 = 0 since probably no one realised where it is and that it's required to update that.

Bonus: removes completely unused SemanticVersion stuff.

@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Feb 7, 2018
@5chdn 5chdn added this to the 1.10 milestone Feb 8, 2018
Copy link
Contributor

@andresilva andresilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

track = "nightly"

# Latest supported fork blocks for various networks. Used ONLY by auto-updater.
[package.metadata.forks]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are these values used?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess nowhere in parity... Used ONLY by auto-updater so https://github.com/paritytech/push-release . am I right @tomusdrw ?

@debris debris added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 8, 2018
@5chdn 5chdn merged commit a59f6d9 into master Feb 8, 2018
@5chdn 5chdn deleted the td-auto-updater branch February 8, 2018 11:39
@debris debris mentioned this pull request Feb 12, 2018
This was referenced Feb 14, 2018
5chdn pushed a commit that referenced this pull request Feb 14, 2018
* update back-references more aggressively after answering from cache (#7578)

* Flush keyfiles. Resolves #7632 (#7868)

* Fix wallet import (#7873)

* rpc: generate new account id for imported wallets

* ethstore: handle duplicate wallet filenames

* ethstore: simplify deduplication of wallet file names

* ethstore: do not dedup wallet filenames on update

* ethstore: fix minor grumbles

* parity-version pr reopen (#7136)

* parity-version module split from util

removed unused util deps and features

trigger buildbot again

only kvdb links rocksdb

snappy linker issues

* rm snappy

* fixed old version imports

* Move updater metadata to Cargo.toml of parity-version. (#7832)

* Update version.

* Bump parity version.

* Fix version.

* Fix compilation.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants