Skip to content

Commit 4670cdb

Browse files
committed
Fix #1182: Allow revisions of the stability field
This field is unused, so just a comment field. Revising it does no harm, so, should be allowed.
1 parent 9774da5 commit 4670cdb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Distribution/Server/Util/CabalRevisions.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,7 @@ checkPackageDescriptions checkXRevision
337337
changesOk "copyright" fromShortText copyrightA copyrightB
338338
changesOk "maintainer" fromShortText maintainerA maintainerB
339339
changesOk "author" fromShortText authorA authorB
340-
checkSame "The stability field is unused, don't bother changing it."
341-
stabilityA stabilityB
340+
changesOk "stability" fromShortText stabilityA stabilityB
342341
changesOk' Trivial "tested-with" (show . ppTestedWith) testedWithA testedWithB
343342
changesOk "homepage" fromShortText homepageA homepageB
344343
checkSame "The package-url field is unused, don't bother changing it."

0 commit comments

Comments
 (0)