-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
master -> central server jan 2023 #1158
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Squashed commit of the following: commit be261f9005d7f0382bd28e384542e141d47c4c35 Author: Peter Becich <[email protected]> Date: Wed Jun 1 20:17:02 2022 -0700 Revert "test" This reverts commit 678a1ed. commit 678a1ed Author: Peter Becich <[email protected]> Date: Wed Jun 1 19:47:10 2022 -0700 test commit 7c8b2ee Author: Peter Becich <[email protected]> Date: Wed May 25 18:55:42 2022 -0700 use Cachix in GitHub Action commit b99b637 Author: Peter Becich <[email protected]> Date: Tue May 24 00:17:53 2022 -0700 attempt to fix Github Actions caching commit 49f09ed Author: Peter Becich <[email protected]> Date: Mon May 23 19:40:27 2022 -0700 attempt to cache `/nix` in Nix Shell Github Action cachix/install-nix-action#56 (comment) commit 5a5b310 Author: Peter Becich <[email protected]> Date: Mon May 23 19:35:18 2022 -0700 attempt to use cache in Nix Shell Github Action https://github.com/cachix/install-nix-action#how-do-i-add-a-binary-cache
At present time, the information returned by the Package JSON API amounts to: ```json { "author": "Hécate Moonlight", "copyright": "", "description": "The 'Display' typeclass provides a solution for user-facing output that does not have to abide by the rules of the Show typeclass.", "homepage": "https://github.com/haskell-text/text-display#readme", "license": "MIT", "metadata_revision": 0, "synopsis": "A typeclass for user-facing output" } ``` This PR aims to implement support for the package upload timestamp in this payload. The final result is this: ```json { "author": "Hécate Moonlight", "copyright": "", "description": "The 'Display' typeclass provides a solution for user-facing output that does not have to abide by the rules of the Show typeclass.", "homepage": "https://github.com/haskell-text/text-display#readme", "license": "MIT", "metadata_revision": 0, "synopsis": "A typeclass for user-facing output", "uploaded_at": "2022-05-22T22:24:48.997120639Z" } ```
The virtual-modules field is used by ghc-prim to provide a magic module which doesn't exist on disk but still has documentation and so-on. By including it here the module appears in the module list on the package homepage.
This will alert of outdated actions used in our workflows. Does not make much sense for the generated `haskell-ci.yml` workflow, as accepted action version bumps do not survive regeneration. Makes sense for the other workflow(s) though.
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 10 to 12. - [Release notes](https://github.com/cachix/cachix-action/releases) - [Commits](cachix/cachix-action@v10...v12) --- updated-dependencies: - dependency-name: cachix/cachix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2.4.0...v3.1.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](cachix/install-nix-action@v17...v18) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
This commit makes `hackage-server` compile with Cabal-3.8, but does not add any Cabal-3.8 specific features. Adds `allow-older: Cabal:process` to solve a conflict arising from these two dependency chains: - Cabal-3.8.1.0 -> process >= 1.6.14 - Cabal-3.8.1.0 -> doctest-parallel -> ghc -> process For `ghc < 9.4`, this means `process < 1.6.14`, and the `ghc` package is not upgradeable, so the only solution is to override `Cabal-3.8.1.0`s request for this very recent version of `process`. The conflict is discussed in haskell/cabal#8554. Likely, the next release of `Cabal-3.8` will drop the request for a specific `process` library and we can drop the `allow-older` workaround, and also reenable the tests on Haskell-CI for GHC < 9.4 (see `cabal.haskell-ci`).
Allow `mtl-2.3` and `transformers-0.6`. Some import statements have to be changed to accommodate the breaking changes of `mtl >= 2.3`. In case of `liftM`, I opted for the more modern `<$>`. We also contribute a new CI workflow that tests building with `mtl >= 2.3.1` so that `mtl-2.3` compatibility does not bit-rot.
* allow disable tests on client side
* List maintainers on package page
* vendor snowball
* Add captcha for user registration.
Co-authored-by: Gershom Bazerman <[email protected]>
* Add test log
Divide sitemap into parts
* Rebased Reverse Dependencies
This allows the testing of quick jump for a candidate.
Dynamically add css piece
* support for `prefers-color-scheme` * 2x brightness for captions and links in dark color scheme * table dark color scheme * prefers-color-scheme for links, footer, and table-of-contents * paginator css for `prefers-color-scheme`
Co-authored-by: Gershom <[email protected]>
…1156) * cleanup partial functions for revdeps, elim use of MonadThrow, MonadCatch * fix tests enablement link
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
delete unused GitHub Action; fix CI badge
Fix Separate logic from UI, secure logic with tests #1076: separate validators from UI and doctest them (Fix #1076: separate validators from UI and doctest them #1077)
Cachix caching for nix-shell GitHub Action (use cache in Nix Shell Github Action #1081)
Add uploaded_at field in package api (Add uploaded_at field in package api #1080)
package page: Include virtual-modules in module tree (package page: Include virtual-modules in module tree #1085)
Allow hashable-1.4 and text-2.0 (Allow hashable-1.4 and text-2.0 #1089)
Divide sitemap into parts
Add sitemap link for subdirectories
Fix
non-canonical-return
warningsBump CI to GHC 9.2.3 and restrict to master branch
Check authorisation (Check authorisation at user name-contact page #1111)
Dynamically add css piece
Fix Weird markdown dash list rendering #1105: change order of markdown parsers to allow pipes in lists
Fix Build error of current
master
caused byhaddock-library-1.11.0
#1128, fix Build failure ofmaster
due tohackage-security-0.6.2
#1130 by adding bounds to Cabal-syntax and haddock-libraryBump CI to 9.2.4 and some deps
Force .txt and .text to have UTF-8 MIME charset ([#1127] Force .txt and .text to have UTF-8 MIME charset #1133)
Upgrade to haddock-library-1.11.0 (Upgrade to haddock-library-1.11.0 #1126)
attempt to speed up GitHub Action for Nix Shell
work with cabal 3.8
Updated accepted licenses (Updated accepted licenses #1092)
Add dependabot for github workflows
Bump cachix/cachix-action from 10 to 12
Bump actions/checkout from 2.4.0 to 3.1.0
Bump cachix/install-nix-action from 17 to 18
Build with Cabal-3.8 and GHC 9.4 (Build with Cabal-3.8 and GHC 9.4 #1141)
Haskell CI: bump to Ubuntu-22.04, GHC 9.2.5 and 9.4.4
Allow mtl-2.3 and transformers-0.6 (Allow mtl-2.3 and transformers-0.6 #1150)
Disable test (Disable test #1124)
allow disable tests on client side
add deprecated version warning (Add deprecated version warning #1123)
List maintainers on package page (List maintainers on package page #1098)
List maintainers on package page
Vendor snowball package (Vendor snowball package #1116)
Add searchbox metadata (Add searchbox metadata #1115)
Add captcha for user registration (Add captcha for user registration #1099)
remove filtering 00-index for cabal version < 2.0 hack (remove filtering 00-index for cabal version < 2.0 hack #1152)
Add lastVersion in listings (more optional columns in search results/browse page #749) (Add lastVersion in listings (#749) #1140)
rm icu dep instructions, add libgd
Add test log display (Add test log display #1100)
Add test log
Reverse Dependencies indexed on PackageName (Reverse Dependencies indexed on PackageName #1082)
Rebased Reverse Dependencies
Add "Quick Jump" to candidate package page (Add "Quick Jump" to candidate package page #1122)
Solves Recent uploads barely covers 2 days #1029 - Adds paging to recent packages and recent revisions (Solves #1029 - Adds paging to recent packages and recent revisions #1055)
support for
prefers-color-scheme
(support forprefers-color-scheme
#1008)2x brightness for captions and links in dark color scheme
table dark color scheme
prefers-color-scheme for links, footer, and table-of-contents
paginator css for
prefers-color-scheme
Maintainer notifications
cleanup partial functions for revdeps, elim use of MonadThrow, MonadCatch
fix tests enablement link
Co-authored-by: Peter Becich [email protected]
Co-authored-by: Andreas Abel [email protected]
Co-authored-by: Hécate Moonlight [email protected]
Co-authored-by: Matthew Pickering [email protected]
Co-authored-by: ˌbodʲɪˈɡrʲim [email protected]
Co-authored-by: Alias Qli [email protected]
Co-authored-by: Ondřej Kubánek [email protected]
Co-authored-by: Gautier DI FOLCO [email protected]
Co-authored-by: Janus Troelsen [email protected]
Co-authored-by: Levi Butcher [email protected]