Skip to content

Why store package version changes in package? #2

@martindsouza

Description

@martindsouza

From https://github.com/insum-labs/plsql-and-sql-coding-guidelines/blob/master/docs/3-coding-style/coding-style.md it's recommended to store all the package changes (i.e. comments about the package changes) in the version function. Why even have this? My thoughts on why not:

  • Redundant to what should be in source control
  • Requires additional work from devs to write both in there and in version control
  • Will lead to missed comments. I've seen this done in several environments and in all the cases devs forget (rightfully so) to update the version changes as they've already commented in the code commit message.
  • If devs are looking at changes to a package using the change log in their version control system is better

Overall this problem is solved with proper version control so I don't see value in adding additional work for no value.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions