registry icon indicating copy to clipboard operation
registry copied to clipboard

Review documentation

Open artur-intech opened this issue 9 years ago • 12 comments

№ 1: https://github.com/internetee/registry/blob/master/doc/whois.rm

  • Outdated and serves no purpose

№ 2: https://github.com/internetee/registry/blob/master/doc/testing.md

  • "Testing" section states obvious thing
  • "Testing EPP" is not valid anymore

№ 3: https://github.com/internetee/registry/blob/master/doc/controllers_brief.svg https://github.com/internetee/registry/blob/master/doc/controllers_complete.svg https://github.com/internetee/registry/blob/master/doc/models_brief.svg https://github.com/internetee/registry/blob/master/doc/models_complete.svg

  • Outdated

№ 4: https://github.com/internetee/registry/blob/master/README.md The following sections are not valid anymore along with № 2.

  • "Updating documentation"
  • "Autotesting"

artur-intech avatar Nov 15 '16 09:11 artur-intech

@artur-beljajev no, these docs need to be updated, not removed

vohmar avatar Nov 17 '16 10:11 vohmar

Why do we need them?

artur-intech avatar Nov 17 '16 10:11 artur-intech

it explains how the system works - data models have been a big help in the past. Documentation is good in case things are not self-explanatory.

vohmar avatar Nov 17 '16 11:11 vohmar

ok, then we probably need to automate this process somehow, since above mentioned docs can get outdated extremely easily (as they are now).

artur-intech avatar Nov 17 '16 11:11 artur-intech

yes, please do. These schemas were automatically generated by the initial developers

vohmar avatar Nov 21 '16 08:11 vohmar

I submit removal of № 1, 2, 4. Concerning № 3, they give no benefit, IMHO. They don't explain how the system works, they just provide raw data of database columns and model relationship, which are anyway available by just looking at DB or models directly. Instead of investing time to support docs, I would invest this time in making the code more understandable.

If you still prefer to automate this, I kindly ask to explain the benefits we gain if we do this.

artur-intech avatar Feb 20 '17 07:02 artur-intech

no1 might be necessary for modular architecture no2 seems necessary as it guides the setup of the autotest environment.
no3 db complete model must be kept updated no4 update as necessary

vohmar avatar Feb 27 '17 13:02 vohmar

All registry demo data can be found at:
db/seeds.rb

is also outdated

artur-intech avatar Jun 25 '17 16:06 artur-intech

https://github.com/internetee/registry/blob/master/doc/epp-examples.md#epp-domain-with-valid-domain-returns-domain-info

Request: <domain:pw>2fooBAR</domain:pw> Response: <domain:pw>98oiewslkfkd</domain:pw>

Request transfer code is not needed according to https://github.com/internetee/registry/blob/master/doc/epp/domain.md#domain-info, therefore needs to be removed. Otherwise it is confusing example.

artur-intech avatar Jan 04 '19 15:01 artur-intech

just as a reminder we need to update these documents in addition to other doc existing and mentioned in this ticket (added links to rejected PRs as reference):

  • database diagrams (https://github.com/internetee/registry/pull/1073)
  • mod-epp doc needs to be replaced with epp-proxy doc (https://github.com/internetee/registry/pull/1284)
  • autotest setup (https://github.com/internetee/registry/pull/1285)

there are gems used to update documentation previously. Some of these gems are listed here:

  • https://github.com/internetee/registry/pull/1358/files

vohmar avatar Oct 31 '19 13:10 vohmar

2, 4 updated by https://github.com/internetee/registry/pull/1284

yulgolem avatar Sep 18 '20 09:09 yulgolem

3 there is no need to store in project, RubyMine generates them on the fly (https://www.jetbrains.com/help/ruby/working-with-diagrams.html#class_diagram).

yulgolem avatar Sep 18 '20 10:09 yulgolem