Skip to content

Commit

Permalink
[new release] get-activity (2 packages) (1.0.0)
Browse files Browse the repository at this point in the history
CHANGES:

### Added

- Add the `--version` command-line option (tarides/get-activity#13, @gpetiot)
- Add a `--user` option to extract the activity of an engineer that is not the current user (tarides/get-activity#14, @gpetiot)
- Add the issue comments to the contributions (tarides/get-activity#21, @gpetiot)

### Changed

- Replace exceptions by result types for the requests (tarides/get-activity#11, @gpetiot)
- Depends on `curly` instead of `cohttp-lwt-unix` (tarides/get-activity#12, @gpetiot)
- Redesign the graphql requests (tarides/get-activity#12, @gpetiot)
  + `Graphql.exec` now takes a `request`
  + `Contributions.fetch` has been replaced by `Contributions.request` that builds a `request`
- Add a `~user:User.t` parameter to `Contributions.request` and `Contributions.of_json` (tarides/get-activity#14, @gpetiot)
- `Contributions.of_json` now returns a result type (tarides/get-activity#20, @gpetiot)
  • Loading branch information
gpetiot committed Mar 20, 2024
1 parent d38be13 commit 03749da
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
42 changes: 42 additions & 0 deletions packages/get-activity-lib/get-activity-lib.1.0.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
opam-version: "2.0"
synopsis: "Collect activity as markdown"
maintainer: ["Guillaume Petiot <[email protected]>"]
authors: ["[email protected]"]
homepage: "https://github.com/tarides/get-activity"
bug-reports: "https://github.com/tarides/get-activity/issues"
depends: [
"dune" {>= "2.8"}
"alcotest" {with-test}
"ppx_expect" {with-test}
"astring"
"curly"
"fmt" {>= "0.8.7"}
"ppx_yojson_conv"
"yojson" {>= "1.6"}
"ocaml" {>= "4.08"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/tarides/get-activity.git"
url {
src:
"https://github.com/tarides/get-activity/releases/download/1.0.0/get-activity-1.0.0.tbz"
checksum: [
"sha256=b072e48bcef89c131108d3bc062c34575497ea8217a4c9f43ec6e89afec8217c"
"sha512=d29bd4435893f791af9dd172a05b6770225926c57a6ab1f0d72108e26b1774bf07c70aada420df7b2c8f3faf70b340da766b606878d5faf87f7d7760925d787f"
]
}
x-commit-hash: "c79ce7802fd17125e06e81acf36c8b6789641c87"
37 changes: 37 additions & 0 deletions packages/get-activity/get-activity.1.0.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
opam-version: "2.0"
synopsis: "Collect activity as markdown"
maintainer: ["Guillaume Petiot <[email protected]>"]
authors: ["[email protected]"]
homepage: "https://github.com/tarides/get-activity"
bug-reports: "https://github.com/tarides/get-activity/issues"
depends: [
"dune" {>= "2.8"}
"cmdliner" {>= "1.1.1"}
"dune-build-info"
"get-activity-lib" {= version}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/tarides/get-activity.git"
url {
src:
"https://github.com/tarides/get-activity/releases/download/1.0.0/get-activity-1.0.0.tbz"
checksum: [
"sha256=b072e48bcef89c131108d3bc062c34575497ea8217a4c9f43ec6e89afec8217c"
"sha512=d29bd4435893f791af9dd172a05b6770225926c57a6ab1f0d72108e26b1774bf07c70aada420df7b2c8f3faf70b340da766b606878d5faf87f7d7760925d787f"
]
}
x-commit-hash: "c79ce7802fd17125e06e81acf36c8b6789641c87"

0 comments on commit 03749da

Please sign in to comment.