Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Cabal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
20dcb1a8
Commit
20dcb1a8
authored
Jul 31, 2018
by
quasicomputational
Committed by
Mikhail Glushenkov
Jul 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
outdated: accept v1/v2 aliases for freeze-file flags
parent
2dd3bbc7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
Cabal/doc/developing-packages.rst
Cabal/doc/developing-packages.rst
+3
-1
cabal-install/Distribution/Client/Setup.hs
cabal-install/Distribution/Client/Setup.hs
+2
-2
cabal-install/changelog
cabal-install/changelog
+2
-0
No files found.
Cabal/doc/developing-packages.rst
View file @
20dcb1a8
...
...
@@ -1333,10 +1333,12 @@ The following flags are supported by the ``outdated`` command:
``--freeze-file``
Read dependency version bounds from the freeze file (``cabal.config``)
instead of the package description file (``$PACKAGENAME.cabal``).
``--v1-freeze-file`` is an alias for this flag starting in Cabal 2.4.
``--new-freeze-file``
Read dependency version bounds from the new-style freeze file
(by default, ``cabal.project.freeze``) instead of the package
description file.
description file. ``--v2-freeze-file`` is an alias for this flag
starting in Cabal 2.4.
``--project-file`` *PROJECTFILE*
:since: 2.4
...
...
cabal-install/Distribution/Client/Setup.hs
View file @
20dcb1a8
...
...
@@ -1166,12 +1166,12 @@ outdatedCommand = CommandUI {
optionVerbosity
outdatedVerbosity
(
\
v
flags
->
flags
{
outdatedVerbosity
=
v
})
,
option
[]
[
"freeze-file"
]
,
option
[]
[
"freeze-file"
,
"v1-freeze-file"
]
"Act on the freeze file"
outdatedFreezeFile
(
\
v
flags
->
flags
{
outdatedFreezeFile
=
v
})
trueArg
,
option
[]
[
"new-freeze-file"
]
,
option
[]
[
"new-freeze-file"
,
"v2-freeze-file"
]
"Act on the new-style freeze file (default: cabal.project.freeze)"
outdatedNewFreezeFile
(
\
v
flags
->
flags
{
outdatedNewFreezeFile
=
v
})
trueArg
...
...
cabal-install/changelog
View file @
20dcb1a8
...
...
@@ -31,6 +31,8 @@
* Add '
v1
-
' prefixes for the commands that will be replaced in the
new-build universe, in preparation for it becoming the default.
(#5358)
* '
outdated
' accepts '
--
v1
-
freeze
-
file
' and '
--
v2
-
freeze
-
file
'
in the same spirit.
* Completed the '
new
-
clean
' command (#5357). The functionality is
equivalent to old-style clean, but for nix-style builds.
* Ensure that each package selected for a build-depends dependency
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment