arch-web 0.1.1 → 0.2
raw patch · 5 files changed
+19/−11 lines, 5 filesdep ~aesondep ~lensdep ~servantsetup-changednew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson, lens, servant, servant-client, servant-client-core
API changes (from Hackage documentation)
- Web.ArchLinux.Types: Community :: Repo
- Web.ArchLinux.Types: CommunityTesting :: Repo
- Web.ArchLinux.Types: Testing :: Repo
+ Web.ArchLinux.Types: CoreTesting :: Repo
+ Web.ArchLinux.Types: ExtraTesting :: Repo
+ Web.ArchLinux.Types: GnomeUnstable :: Repo
Files
- CHANGELOG.md +6/−0
- Setup.hs +2/−0
- arch-web.cabal +6/−6
- src/Web/ArchLinux/API.hs +2/−2
- src/Web/ArchLinux/Types.hs +3/−3
CHANGELOG.md view
@@ -1,5 +1,11 @@ # arch-web +## 0.2++* Allow lens 5.1/5.2, aeson 2.1, servant 0.19.1++* Adapt to Arch Linux's git migration+* Add [gnome-unstable] repo+ ## 0.1.1 * Add special case licenses
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
arch-web.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: arch-web-version: 0.1.1+version: 0.2 synopsis: Arch Linux official and AUR web interface binding description: Arch Linux official and AUR web interface binding.@@ -23,18 +23,18 @@ common common build-depends:- , aeson ^>=1.5.4 || ^>=2.0+ , aeson ^>=1.5.4 || ^>=2.0 || ^>=2.1 , base >=4.10 && <5 , deriving-aeson ^>=0.2.6 , exceptions ^>=0.10.4 , http-client ^>=0.6.4 || ^>=0.7.4 , http-client-tls ^>=0.3.5 , http-types ^>=0.12.3- , lens ^>=4.19.2 || ^>=5+ , lens ^>=4.19.2 || ^>=5 || ^>=5.1 || ^>=5.2 , mtl- , servant >=0.18 && <=0.19- , servant-client >=0.18 && <=0.19- , servant-client-core >=0.18 && <=0.19+ , servant >=0.18 && <0.20+ , servant-client >=0.18 && <0.20+ , servant-client-core >=0.18 && <0.20 , text , time
src/Web/ArchLinux/API.hs view
@@ -114,10 +114,10 @@ -- > let options = -- > emptySearchOptions -- > & nameOrDescription ?~ "kea"--- > & targetRepositories .~ [Community, CommunityTesting]+-- > & targetRepositories .~ [Extra, ExtraTesting] -- > searchPackage options -- --- searchs packages whose names or descriptions contain @kea@, from @Community@ or @Community-Testing@.+-- searchs packages whose names or descriptions contain @kea@, from @Extra@ or @Extra-Testing@. emptySearchOptions :: SearchOptions emptySearchOptions = SearchOptions Nothing Nothing Nothing [] [] Nothing Nothing Nothing
src/Web/ArchLinux/Types.hs view
@@ -66,12 +66,12 @@ -- | Official repositories. data Repo = Core+ | CoreTesting | Extra- | Testing+ | ExtraTesting | Multilib | MultilibTesting- | Community- | CommunityTesting+ | GnomeUnstable | KDEUnstable deriving stock (Show, Eq, Ord, Enum, Generic) deriving (FromJSON, ToJSON) via CustomJSON '[ConstructorTagModifier CamelToKebab] Repo