instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
woodpecker-ci__woodpecker__5205
woodpecker-ci/woodpecker
5,205
defect
00125a90c82255ed7ca9f0499aaf1cd712117c5b
90257ad475c30da19eb50ec5d52f804a7278dbc5
Support for pull request file changes in bitbucketdatacenter
Closes #1138. This pull request brings the missing "Get pull request file changes" functionality for the Bitbucket Datacenter forge.
diff --git a/docs/docs/20-usage/20-workflow-syntax.md b/docs/docs/20-usage/20-workflow-syntax.md index 646312bb750..7971876e78d 100644 --- a/docs/docs/20-usage/20-workflow-syntax.md +++ b/docs/docs/20-usage/20-workflow-syntax.md @@ -393,8 +393,7 @@ when: #### `path` :::info -Path conditions are applied only to **pu...
1
1
1
[{"id": "G0", "claim": "With this change, pipelines created from pull-request events no longer get their message set from the commit (convertPullRequestEvent leaves Message empty), so PR-triggered pipelines would show an empty message; it should probably be the pull request title.", "category": "correctness", "verdict"...
null
woodpecker-ci__woodpecker__5266
woodpecker-ci/woodpecker
5,266
defect
6631e8bf15299b0921060e29e3fab409808b2fcd
55efe7804ec0db9781f7af75d140dfbd9fd9ddb3
Add Agent-level Tolerations setting
<!-- Please check the following tips: 1. Avoid using force-push and commands that require it (such as `commit --amend` and `rebase origin/main`). This makes it more difficult for the maintainers to review your work. Add new commits on top of the current branch, and merge the new state of `main` into your branch wit...
diff --git a/docs/docs/30-administration/10-configuration/11-backends/20-kubernetes.md b/docs/docs/30-administration/10-configuration/11-backends/20-kubernetes.md index 63b0bc60c2d..677b28462bb 100644 --- a/docs/docs/30-administration/10-configuration/11-backends/20-kubernetes.md +++ b/docs/docs/30-administration/10-co...
6
6
5
[{"id": "G0", "claim": "The pull request must not modify the files under docs/versioned_docs; only the files in docs/docs should be changed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tolerations backend option needs to be added to the YAML ...
null
woodpecker-ci__woodpecker__5641
woodpecker-ci/woodpecker
5,641
defect
5cad656ebcf589c5c1880c6b4225552762d4478a
40af0e1127e1ca48321d4d25399fc79f07f5b4f0
Improve log.CopyByLine to be more robust
More robust error handling in the function update the test to use assert.Eventually to make it more resistant to timing flakiness <!-- Please check the following tips: 1. Avoid using force-push and commands that require it (such as `commit --amend` and `rebase origin/main`). This makes it more difficult for the...
diff --git a/pipeline/log/utils.go b/pipeline/log/utils.go index 6c3e2dfe712..c5ef8d7bdde 100644 --- a/pipeline/log/utils.go +++ b/pipeline/log/utils.go @@ -45,17 +45,17 @@ func CopyLineByLine(dst io.Writer, src io.Reader, maxSize int) error { r := bufio.NewReader(src) for { - // TODO: read til newline or maxSiz...
1
1
0
[{"id": "G0", "claim": "The TODO comment this PR removes was not solved yet, so it should be restored (or, if removed, tracked via a linked commit and issue).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
woodpecker-ci__woodpecker__6039
woodpecker-ci/woodpecker
6,039
defect
06818ee6adc563c0c48767eac21a67aba313c1ba
e34a039384bf2cb96e38108e18f6e0c64f3d1cc6
Report status for detached steps and services
<img width="1452" height="673" alt="image" src="https://github.com/user-attachments/assets/1045a9d4-d429-4b6c-9b52-8072f3acafdf" /> <img width="1256" height="556" alt="image" src="https://github.com/user-attachments/assets/4d18d53a-8229-431b-b1de-73ed905bc6d9" /> <img width="1257" height="562" alt="image" src="https:...
diff --git a/pipeline/backend/docker/docker.go b/pipeline/backend/docker/docker.go index 8a48fdd72e6..422656d6e20 100644 --- a/pipeline/backend/docker/docker.go +++ b/pipeline/backend/docker/docker.go @@ -16,6 +16,8 @@ package docker import ( "context" + "errors" + "fmt" "io" "net/http" "os" @@ -35,12 +37,15...
4
3
0
[{"id": "G0", "claim": "Detached steps and services that crash or fail should let the pipeline fail instead of being ignored.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The added comment misspells \"yet\" as \"jet\" and should read \"we do not...
null
woodpecker-ci__woodpecker__6072
woodpecker-ci/woodpecker
6,072
defect
cf78d5dd7ec0eb4d58ae8aaa16224116f08c35d7
53019295071fec7948ed25fefeae06a4e5930fcd
Show cancellation reason in pipeline details
This PR adds cancel info, so one can see why it was cancelled. - It can set the status to cancel by user with the name of the user - It can set the status to superceded by pipeline, which holds the reference and link to said pipeline - Uses I18n to support translation in the UI As well as a few tests I had added ...
diff --git a/cmd/server/openapi/docs.go b/cmd/server/openapi/docs.go index 0d5539279e2..c14d0723ac2 100644 --- a/cmd/server/openapi/docs.go +++ b/cmd/server/openapi/docs.go @@ -4678,6 +4678,20 @@ const docTemplate = `{ } } }, + "CancelInfo": { + "type": "object",...
2
2
2
[{"id": "G0", "claim": "CI checks fail on this pull request — web lint and formatting issues, failing tests, web typecheck errors because cancel_info is missing from the Pipeline type, and stale generated OpenAPI docs — and have to be fixed before merge.", "category": "correctness", "verdict": "supported", "priority": ...
null
woodpecker-ci__woodpecker__6119
woodpecker-ci/woodpecker
6,119
defect
a63b93f5ee3baf3f783994bd78981e790303f8af
a7e8c3edbe6a337899a4db02b1a994757bf01386
Use priority-based merging to determine pipeline and workflow status
expected to close #6114 Not tested yet.
diff --git a/server/api/badge.go b/server/api/badge.go index 88188fff1d7..7e6f223e786 100644 --- a/server/api/badge.go +++ b/server/api/badge.go @@ -120,7 +120,10 @@ func GetBadge(c *gin.Context) { if wf.Name == workflowName { stepName := c.Query("step") if len(stepName) == 0 { - if status == nil ...
2
1
0
[{"id": "G0", "claim": "The per-workflow/step status merging in GetBadge is business logic that should not sit in the API handler — Pipeline.Status should have stored that status and returned it, and if the pipeline status is not sufficient for that, there is a bug.", "category": "design", "verdict": "opposed", "priori...
null
woodpecker-ci__woodpecker__6183
woodpecker-ci/woodpecker
6,183
defect
a7ccf2bf09d8c2375b0cd2dadc6d80532e18c1ca
5cef9eb806e05a1b09b7c894d7ebdd75b1c5d1a1
Fix `when.status` filter evaluation and add workflow-level support
fix https://github.com/woodpecker-ci/woodpecker/issues/6161 And also allow `when.status` at workflow level. `runs_on` is deprecated then.
diff --git a/docs/docs/20-usage/20-workflow-syntax.md b/docs/docs/20-usage/20-workflow-syntax.md index f97d87e4f10..12a02200a0a 100644 --- a/docs/docs/20-usage/20-workflow-syntax.md +++ b/docs/docs/20-usage/20-workflow-syntax.md @@ -350,6 +350,18 @@ There are use cases for executing steps on failure, such as sending no...
1
1
0
[{"id": "G0", "claim": "The new comment on the RunsOn assignment should read \"Deprecated\", not the misspelled \"Depricated\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
woodpecker-ci__woodpecker__6251
woodpecker-ci/woodpecker
6,251
defect
e894e93fbcf4b1ec14ba0ec67bf419200864c6e1
d1d7e658e526cb92fb00d5a3685c96f8b02121d5
Allow disabling isolated home directory for local agents
Make it possible to disable the isolated home created by the local agent. To do so an environment variable `WOODPECKER_BACKEND_LOCAL_ISOLATED_HOME` is introduced. Set it to `false` to make the local agent not set the environment variables `HOME` and `USERPROFILE`. This is needed for a Windows local agent. For a Wind...
diff --git a/pipeline/backend/local/clone.go b/pipeline/backend/local/clone.go index 30c072d8c12..25fe9e3c48f 100644 --- a/pipeline/backend/local/clone.go +++ b/pipeline/backend/local/clone.go @@ -124,6 +124,11 @@ func (e *local) writeNetRC(step *types.Step, state *workflowState) (string, erro return "", nil } +...
1
1
0
[{"id": "G0", "claim": "The Usage text of the backend-local-isolated-home flag should be extended to say that setting it to false makes the backend ignore netrc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
woodpecker-ci__woodpecker__6270
woodpecker-ci/woodpecker
6,270
defect
9d32aaf55859b77165adec443fe6ea94e79da471
219a16b3fc76d3deda36889f56dee281d5fd6f0b
Add workflow integration test
taken the integration test from #6166 and extend it ... (disable some tests as we have some indicators not here jet) ``` go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/executor.go:33: Run 71.0% go.woodpecker-ci.org/woodpecker/v3/pipeline/runtime/executor.go:99: traceStep 84.6% go.woodpecker-ci.org/woodpecke...
diff --git a/.mockery.yaml b/.mockery.yaml index 3ead6fa6ccf..19b7be0925a 100644 --- a/.mockery.yaml +++ b/.mockery.yaml @@ -20,4 +20,5 @@ packages: go.woodpecker-ci.org/woodpecker/v3/server/services/secret: go.woodpecker-ci.org/woodpecker/v3/server/store: go.woodpecker-ci.org/woodpecker/v3/woodpecker-go/woodp...
3
2
1
[{"id": "G0", "claim": "The `//go:build test` build tag is unnecessary in these test files since they already end in `_test.go` and could be removed.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The integration test file should be named `pipelin...
null
woodpecker-ci__woodpecker__6318
woodpecker-ci/woodpecker
6,318
defect
f842ce2cc2500af94ffd05d985d78dd01e0c2fc4
080cae60a48b0e5a81e66e9089e42d388a7f24ab
Refactor server/pubsub into interface
refactor our pubsub into an interface and now publish and listen to topics instead of label filtering. we also now have the key const and key genaration of repo topics in the pubsub package. also we switch from repo name to repo id for pubsub topic -> this fixes an multi-forge bug :) part of #6317
diff --git a/cmd/server/setup.go b/cmd/server/setup.go index c774be7d537..f2c9e3c529d 100644 --- a/cmd/server/setup.go +++ b/cmd/server/setup.go @@ -34,7 +34,7 @@ import ( "go.woodpecker-ci.org/woodpecker/v3/server/forge/setup" "go.woodpecker-ci.org/woodpecker/v3/server/logging" "go.woodpecker-ci.org/woodpecker/v...
5
3
0
[{"id": "G0", "claim": "The Topics comment in server/pubsub/pubsub.go has a typo and should read \"the value to the sub-key\" instead of \"the value su the sub-key\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The memory publisher should use s...
null
woodpecker-ci__woodpecker__6346
woodpecker-ci/woodpecker
6,346
defect
fde1d917e244524e269eb28522c678c95f279148
018cc4a6c897de84b343a512424b05944f02a979
Separate cron field
splitted out from https://github.com/woodpecker-ci/woodpecker/pull/4626 Separate the field `cron`. This also contains many preparations for more from #4626 ex. the separated api models including the deprecated fields.
diff --git a/cmd/server/openapi/docs.go b/cmd/server/openapi/docs.go index 1babef7ab8b..5bc9d825223 100644 --- a/cmd/server/openapi/docs.go +++ b/cmd/server/openapi/docs.go @@ -5011,6 +5011,10 @@ const docTemplate = `{ "created": { "type": "integer" }, + ...
2
2
1
[{"id": "G0", "claim": "The paging-loop migration in 027_add_cron_field.go could be replaced by a single SQL statement.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cron-created pipeline should no longer set Message to the cron name, since...
null
woodpecker-ci__woodpecker__6394
woodpecker-ci/woodpecker
6,394
defect
f644e0d49ce9008c8de19bf23cc85b223abf1fcb
6a4f63d94bcc813513d6bef6b95100efdbb8466b
sanitize agent should allow done updates to canceled pipelines
again ... :/ ...I think #6391 will help us not having regressions that much :sweat_smile: ... what the original pull did not do... it only checked the current state without checking what the new state should switch to. we have to verify that and allow more update paths without introducing more bugs and still have i...
diff --git a/server/pipeline/step_status.go b/server/pipeline/step_status.go index 7adbee00b5c..ce44525dc31 100644 --- a/server/pipeline/step_status.go +++ b/server/pipeline/step_status.go @@ -28,9 +28,8 @@ import ( "go.woodpecker-ci.org/woodpecker/v3/server/store" ) -// UpdateStepStatus updates step status based ...
1
1
0
[{"id": "G0", "claim": "The pull-request-added parameter `_pipeline` in `checkAgentPermissionByWorkflow` should be renamed to `p`, since underscore naming is uncommon in Go.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
woodpecker-ci__woodpecker__6424
woodpecker-ci/woodpecker
6,424
defect
f83a01abcee829a60ac8513b38fdd1470b262839
6e113e79411fc71adf9e5ad43bcb9f34fc56be80
Fix erroneous linter error for plugin privileges
Currently if you use one of the plugins from the list that were formerly privileged by default and you explicitly configure that step with `privileged: true` you still get a linter error prompting you to add those to WOODPECKER_PLUGINS_PRIVILEGED. As far as I can tell this error message is incorrect because WOODPECKER_...
diff --git a/pipeline/frontend/yaml/linter/linter.go b/pipeline/frontend/yaml/linter/linter.go index 81b88c967cc..1aa115964c3 100644 --- a/pipeline/frontend/yaml/linter/linter.go +++ b/pipeline/frontend/yaml/linter/linter.go @@ -206,6 +206,12 @@ func (l *Linter) lintPrivilegedPlugins(config *WorkflowConfig, c *types.Co...
1
1
0
[{"id": "G0", "claim": "Change the if clause to `if utils.MatchImage(...) && !c.Privileged` instead of keeping the newly added separate early-return block for privileged containers inside it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
woodpecker-ci__woodpecker__6456
woodpecker-ci/woodpecker
6,456
defect
4390796985a4c2cd52c9b54eb51388cea2c2dfa4
d42658416ecb7a629c951a4a0677b8c9cf5be60a
Fix send on closed channel panic in SSE stream handlers
Instead of explicitly closing channels which leads to concurrency issues with channels being used after close, allow channels to be GC'ed. Remove the recover block that was previously catching&masking the panics in the LogStreamSSE. EventStreamSSE was missing the same fixes: #6454
diff --git a/server/api/stream.go b/server/api/stream.go index 3e740bb81ce..d09d03d66b2 100644 --- a/server/api/stream.go +++ b/server/api/stream.go @@ -90,7 +90,6 @@ func EventStreamSSE(c *gin.Context) { defer func() { cancel(nil) - close(eventChan) log.Debug().Msg("user feed: connection closed") }() @@...
4
3
2
[{"id": "G0", "claim": "The test uses time.Sleep(20ms) for synchronization, which is fragile: under a loaded CI runner the goroutine inside EventStreamSSE may not have subscribed before the publishes fire, so the test can miss the race it is trying to reproduce; a readiness signal (e.g. a broker wrapper that closes a c...
null
woodpecker-ci__woodpecker__6479
woodpecker-ci/woodpecker
6,479
defect
f1bf85f7e155f220109d543d1f868a2b6ed03bd2
367c4f3605ead10cef70f33d9db3506e5135464d
e2e test wait for grpc server teardown and stop agents
fix race of https://ci.woodpecker-ci.org/repos/3780/pipeline/33699/39 we also now stop agents gracefully
diff --git a/agent/rpc/client_grpc.go b/agent/rpc/client_grpc.go index 9c1c42d9b85..96f864cf25e 100644 --- a/agent/rpc/client_grpc.go +++ b/agent/rpc/client_grpc.go @@ -70,11 +70,6 @@ func NewGrpcClient(ctx context.Context, conn *grpc.ClientConn) rpc.Peer { return client } -func (c *client) Close() error { - close...
1
1
0
[{"id": "G0", "claim": "StartAgent could create the agent context from t.Context() instead of context.Background(), letting the test framework manage cancellation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
woodpecker-ci__woodpecker__804
woodpecker-ci/woodpecker
804
defect
1cc8122ec8f7b3f9c5ea9f7e160c6d95d47d58c2
a90ef7c0659f06b5fdcdd449428e063bcc22478f
Add support for pipeline configuration service
- Add configuration extension flags to server - Add httpsignatures dependency - Add http fetching to config fetcher This PR provides the first version of an external configuration extension. It is globally configured via flags. In the next version the external http endpoint should be possible to be configured i...
diff --git a/cmd/server/flags.go b/cmd/server/flags.go index 0a55d84bbdd..2e552bbcfb8 100644 --- a/cmd/server/flags.go +++ b/cmd/server/flags.go @@ -161,6 +161,16 @@ var flags = []cli.Flag{ Name: "gating-service", Usage: "gated build endpoint", }, + &cli.StringFlag{ + EnvVars: []string{"WOODPECKER_YAML_EN...
22
22
2
[{"id": "G0", "claim": "Drop the blank line after the httpsignatures import so the import block follows the project's grouping style.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The configuration import in configFetcher.go is not placed accor...
null
woodpecker-ci__woodpecker__972
woodpecker-ci/woodpecker
972
defect
9f7b72f9a9e9223642d4c9a2459a2bc2abe0b90e
00065dda6691f7b1f3f17350b364ad75ba43fde2
Document package architecture
to make it easyer for devs to find the right place for code close #655
diff --git a/docs/docs/92-development/05-architecture.md b/docs/docs/92-development/05-architecture.md index 82fa15ede92..c0af27c296b 100644 --- a/docs/docs/92-development/05-architecture.md +++ b/docs/docs/92-development/05-architecture.md @@ -6,4 +6,41 @@ ## System architecture +### main package hirarchie + +| p...
3
2
0
[{"id": "G0", "claim": "Too much is packed into the server/api package — new scopes should be moved out into new or other packages.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The server/router row should say the router serves the UI and WebUI config ...
null
wookayin__gpustat__107
wookayin/gpustat
107
defect
e70bc8565943dee15fd4338c176c821d7ab3d2eb
a5189b4bc649d25aaad818ebe9b79738b7c6e69a
Use NVIDIA's official pynvml binding
Since 2021, NVIDIA provides an official python binding `pynvml`: https://pypi.org/project/nvidia-ml-py/#history which should replace a third-party community fork [nvidia-ml-py3](https://github.com/nicolargo/nvidia-ml-py3) that we have been using. The main motivations are (1) to use an official library and (2) to ad...
diff --git a/gpustat/core.py b/gpustat/core.py index 20246bb..411d783 100644 --- a/gpustat/core.py +++ b/gpustat/core.py @@ -19,12 +19,28 @@ import platform import sys import time +import textwrap from datetime import datetime from six.moves import cStringIO as StringIO -import psutil -import pynvml as N from b...
4
2
2
[{"id": "G0", "claim": "The nvidia-ml-py requirement should be frozen to a known-good version (nvidia-ml-py==11.450.51) until a way to patch nvmlProcessInfo_t and nvmlDeviceGetComputeRunningProcesses is found.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
wookayin__gpustat__123
wookayin/gpustat
123
defect
847f87e531432b603c805f2289621e73881f653d
c7bce9a9b4d4a9779e0d8507e59d9f2958e0579d
WINDOWS: psutil can fail to get process info
Preallocate a default process dict with the valid PID, and return it when `get_process_info` errors. Also catch `psutil.AccessDenied` on windows where sometimes the user cannot query all processes.
diff --git a/gpustat/core.py b/gpustat/core.py index f22ffbc..eea0fae 100644 --- a/gpustat/core.py +++ b/gpustat/core.py @@ -372,22 +372,31 @@ def get_gpu_info(handle): def get_process_info(nv_process): """Get the process information of specific pid""" - process = {} ...
1
1
1
[{"id": "G0", "claim": "If un-queryable processes should not be logged, psutil.AccessDenied must be added to the per-process except block in gpustat/core.py (~L484-497), which currently catches only NoSuchProcess and FileNotFoundError.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int...
null
wookayin__gpustat__133
wookayin/gpustat
133
defect
e45c5c6562996ebe0de2dc16c238398885581ae3
1334485d2534613eb9b0a03adbc570255a67093c
Add a new flag --no-processes to hide process information
Hey I find this useful for my own application, also seems to solve #101 I think :)
diff --git a/README.md b/README.md index e2165b2..e52dc17 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ Options (Please see `gpustat --help` for more details): * `-e`, `--show-codec` : Display encoder and/or decoder utilization * `-P`, `--show-power` : Display GPU power usage and/or limit (`draw` or `draw,...
7
7
3
[{"id": "G0", "claim": "The flag name `-n`/`--no-processes` does not match its description `Hide memory data for individual processes.` — it should be described as disabling all process information, and the reviewer prefers not adding the `-n` shorthand to avoid flag proliferation (suggesting #51 as the more general so...
null
wookayin__gpustat__143
wookayin/gpustat
143
defect
f0aeddbae473589697d20ee084861682beff9e70
3cb720036cdcb3b0392d500d17276ecf03e75547
Add pynvml compatibility by monkey-patching
The purpose of this PR is to relax the strict pynvml requirement (`<= 11.495.46`) introduced in #107. pynvml 11.510.69 has broken the backward compatibility by removing `nvml.nvmlDeviceGetComputeRunningProcesses_v2` which is replaced by v3 APIs (`nvml.nvmlDeviceGetComputeRunningProcesses_v3`), but this function do...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73ea013..f39b17f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ name: "Run Tests" on: [push, pull_request, workflow_dispatch] +defaults: + run: + shell: bash + jobs: unit-tests: name: "Unit Tes...
1
1
0
[{"id": "G0", "claim": "Keep (or restore) an upper version pin on nvidia-ml-py, since the monkey-patch only covers nvmlDeviceGetMemoryInfo and upgrading pynvml too aggressively may break nvmlDeviceGet{Compute,Graphics}RunningProcesses_vN when a v4 API with a new nvmlProcessInfo_t struct is released.", "category": "corr...
null
wookayin__gpustat__20
wookayin/gpustat
20
defect
f66cffd44e45ae8f20a3ce42079f6d0dedb33d3c
6f4dc748e66b728ac2edd65e03563aca015429fe
Use nvidia-ml-py and psutil to replace original command line call
This is a support and follow-up for #17 by @Stonesjtu, in which all `nvidia-smi` and `ps` command line calls are replaced by `nvidia-ml-py` and `psutil`, respectively. On top of #17, I have added unit tests and fixed several bugs (or different behavior) introduced in the PR. ### Changes - Replace `nvidia-smi` cal...
diff --git a/README.md b/README.md index a249335..6f8165b 100644 --- a/README.md +++ b/README.md @@ -49,16 +49,14 @@ To install the latest version (master branch) via pip: pip install git+https://github.com/wookayin/gpustat.git@master ``` -Alternatively, you can just download an *unstable* version of [gpustat.py][s...
1
1
1
[{"id": "G0", "claim": "In the except handler for the temperature query, `memory = None` looks like a typo and should be `temperature = None`; as written, `temperature` is left unset when nvmlDeviceGetTemperature raises NVMLError.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc...
null
wookayin__gpustat__28
wookayin/gpustat
28
defect
a38bc5fd11add4a8ab805f5b327020196ce558d0
be1330e401b5f50709b45fe10b6c86217a804d00
Add option to show power stats
Adds ability to show optionally power usage and limit (grouped with temperature and utilisation).
diff --git a/gpustat.py b/gpustat.py index 4ec8a41..00ea8b0 100755 --- a/gpustat.py +++ b/gpustat.py @@ -113,6 +113,24 @@ def utilization(self): v = self.entry['utilization.gpu'] return int(v) if v is not None else None + @property + def power_usage(self): + """ + Returns the GPU...
2
1
1
[{"id": "G0", "claim": "The power-usage property should read the entry under the key `power.draw` instead of `power.use`, following the project convention of using the column names shown by `nvidia-smi --help-query-gpu`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G...
null
wookayin__gpustat__33
wookayin/gpustat
33
defect
0b409905397d680eee359b471314ebe6927ced8f
06d88a9f26f08207029eb5d260892cef73c79839
Introduce gpustat package
I plan to switch to using a package, say `gpustat`, instead of writing everything in a single file `gpustat.py`. As a lot of features are going to to added, I feel the necessity of doing this. In this way, we can also add (optional) features such as monitoring, web support, etc. @Stonesjtu How do you think of th...
diff --git a/gpustat/__init__.py b/gpustat/__init__.py new file mode 100644 index 0000000..f695cac --- /dev/null +++ b/gpustat/__init__.py @@ -0,0 +1,16 @@ +""" +The gpustat module. +""" + +__version__ = '0.5.0.dev1' + +from .gpustat import GPUStat, GPUStatCollection +from .gpustat import new_query, print_gpustat +from...
1
1
0
[{"id": "G0", "claim": "The module layout of the new package (everything in gpustat/gpustat.py, imported as gpustat.gpustat) is unclear and should be split into several separate files for the classes and the print/main-related code.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
wookayin__gpustat__63
wookayin/gpustat
63
defect
28299cdcf55dd627fdd9800cf344988b43188ee8
1bd51192f40fec25b888ee92c8e42f67b5d6fc89
Add a flag for fan speed
Fixes #62 I used what was done in #42 , but added the command line flag and unit test.
diff --git a/README.md b/README.md index 4b9d24c..f9c31f1 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Options: * `-u`, `--show-user` : Display username of the process owner * `-c`, `--show-cmd` : Display the process name * `-p`, `--show-pid` : Display PID of the process +* `-f`, `--show-fan` : Di...
4
4
2
[{"id": "G0", "claim": "The pull request's Travis CI build is failing and the failure needs to be fixed.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The short flag for --show-fan should be -F instead of -f.", "category": "design", "verdict": "support...
null
wookayin__gpustat__65
wookayin/gpustat
65
defect
fd337b990446f59b490477d3adee5f95b676e628
e62939d15a1bcc31e413419d53096b4112e39145
Add full process info.
Fixes #50 I added `-f`, `--show-full-cmd` that show the full process info as discussed in #50. Right now it shows the percent of CPU usage and the percent of system memory in use, but that can be changed. Let me know what you think. Example: ``` server1 Wed Jun 26 15:24:33 2019 418.67 [0] Tesla V100-S...
diff --git a/README.md b/README.md index fd99f79..df75f98 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ Options: * `--no-color` : Suppress colored output * `-u`, `--show-user` : Display username of the process owner * `-c`, `--show-cmd` : Display the process name +* `-f`, `--show-full-cmd` : ...
7
6
2
[{"id": "G0", "claim": "The pull request should be rebased onto master and its python 2 specific changesets dropped, since master has dropped python 2 support and python 2.7 is retiring.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pid num...
null
wookayin__gpustat__81
wookayin/gpustat
81
defect
5c8898e43326e5c7b1450503e6dd9dc3ea4967d0
e213d5e52aaaadb2ef9bd62ac93742f4e60724af
Handle Lost GPU and Unknown Error situations
When some of the GPUs are lost and unavailable but the others are not, we should show the rest of unlost GPUs rather than throwing an error.
diff --git a/gpustat/core.py b/gpustat/core.py index ff4dd94..6288e56 100644 --- a/gpustat/core.py +++ b/gpustat/core.py @@ -205,7 +205,8 @@ def _conditional(cond_fn, true_value, false_value, colors['C0'] = term.normal colors['C1'] = term.cyan colors['CBold'] = term.bold - colors['CNam...
3
3
0
[{"id": "G0", "claim": "The reviewer asks why LostGPU needs to store the exception (self._ex = ex), which appears to be unused.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The hand-rolled NullEntry should be replaced with a builtin mapping su...
null
wookayin__gpustat__84
wookayin/gpustat
84
defect
5c8898e43326e5c7b1450503e6dd9dc3ea4967d0
daa32e6192a5865ffb35fa99c4ab8f4b06552c64
Do not list the same GPU process more than once
A single process might appear in both of graphics and compute running processes list (#18). In such cases, the same process (same PID) would appear appearing twice. We fix this bug: list a process only once.
diff --git a/gpustat/core.py b/gpustat/core.py index ff4dd94..520929a 100644 --- a/gpustat/core.py +++ b/gpustat/core.py @@ -376,6 +376,8 @@ def get_process_info(nv_process): GPUStatCollection.global_processes[nv_process.pid] = \ psutil.Process(pid=nv_process.pid) ...
1
1
0
[{"id": "G0", "claim": "It would be better to add a comment line explaining the new seen_pids dedup logic at gpustat/core.py:466.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wooorm__franc__77
wooorm/franc
77
defect
760067ef053ec5fac778dac0498a0cd7c5904016
eef94ddbfc8fa7304bbcf78bfed800753888fb22
Fix incorrect results for Japanese
Since Japanese regex included only Hiragana and Katakana, every input containing kana but more than 50% of Han characters was mistakenly detected as Chinese. This fix is necessary because many Japanese texts (especially technical ones) may have a kanji ratio higher than 50%. Since the detect method counts the occurr...
diff --git a/script/build.js b/script/build.js index 46ebe0c..9fafbea 100644 --- a/script/build.js +++ b/script/build.js @@ -125,8 +125,9 @@ function generate(basename) { }) /* Push Japanese. */ + var kanjiRegexSource = '[\u3400-\u4DB5\u4E00-\u9FAF]' regularExpressions.jpn = new RegExp( - expressions.Hir...
2
1
1
[{"id": "G0", "claim": "The pull request should provide a test that used to fail (Japanese misdetected as Chinese) but now works.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Kanji range should be generated, preferably from unicode-7.0.0 or simila...
null
wooorm__lowlight__40
wooorm/lowlight
40
defect
216a66670f007101be6e57a797aa481dc514e674
497c0e21b64aa894f847a21dfc237f46b614e225
Add `lowlight.registered`
In the following case ```js // register 'js' as alias of `javascript` lowlight.registerAlias( 'javascript', 'js' ) // I want to know whether `js` is registered const hasJSLang = lowlight.listLanguages().indexOf( 'js' ) > -1 // `hasJSLang` is `false` here if ( hasJSLang ) { lowlight.highlight( 'js', code...
diff --git a/lib/core.js b/lib/core.js index 72c4c21..45fcc52 100644 --- a/lib/core.js +++ b/lib/core.js @@ -134,6 +134,16 @@ function listLanguages() { return high.listLanguages() } +/** + * Is an alias or language name registered. + * + * @param {string} aliasOrLanguage alias or language + * @returns {boolean} ...
3
2
2
[{"id": "G0", "claim": "The PR should expose a `registered(aliasOrLanguage): boolean` API instead of `.getLanguage`, since exposing grammar access has no clear use case and resolving aliases in a getter may be unintuitive.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
wooorm__lowlight__51
wooorm/lowlight
51
defect
5caa24559b7ff858e3009f10545ee19ef9c64d00
bfaa9cb46e8311f9087cc57b877195ec73abfebb
Remove use of global highlight instance
With this PR we make use of the `newInstance` function of `highlight.js`, to not pollute the global instance anymore. As the configuration is local only now, we don't have to reset it anymore. Closes #47
diff --git a/lib/core.js b/lib/core.js index 068c069..7817b1e 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,9 +20,12 @@ * @typedef {Options & ExtraOptions} AutoOptions */ -import high from 'highlight.js/lib/core' +import highlightCore from 'highlight.js/lib/core' import {fault} from 'fault' +// create an o...
2
1
1
[{"id": "G0", "claim": "The tests mock `highlight.configure` instead of actually testing whether lowlight and the global highlight.js instance interfere; an actual test (e.g. that a language registered with lowlight still crashes regular highlight.js) would be better.", "category": "testing", "verdict": "opposed", "pri...
null
wooorm__markdown-rs__135
wooorm/markdown-rs
135
defect
af3ebbcff48a9c0e990e25299b9c832fd7857650
bf4d60daabdbf9a77d35725e54cf2bd88fda639b
Fix serde, change `BlockQuote` -> `Blockquote`
* Fixed #72 * Added a sanity test for the same **NOTE** : The included sanity test makes sure that at-least the AST serializes and deserializes. More rigorous tests should be added later. Currently, it works as the construct names 'camelCased' match the [Mdast JSON](https://github.com/syntax-tree/mdast#nodes) exce...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8cad372c..e2a80e17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,5 +20,5 @@ jobs: - uses: dtolnay/rust-toolchain@v1 with: toolchain: stable - - run: cargo install cargo-tarpaulin ...
5
3
1
[{"id": "G0", "claim": "The readme's test section should not make humans run both `cargo test` and `cargo test --features json`; it should be replaced with a single test command example using `--all-features`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
wooorm__markdown-rs__148
wooorm/markdown-rs
148
defect
e7ed52683a831f5a9fe4c692accf98f7bc9dd82c
73c934c87a9a76cbd7930222a3d072fb5795ea3c
Add support for serializing math nodes as markdown
Adds support for serializing math nodes in mdast_util_to_markdown TODO : - [x] Add support for inline math and complete the tests
diff --git a/mdast_util_to_markdown/src/configure.rs b/mdast_util_to_markdown/src/configure.rs index 4f13a079..c961f385 100644 --- a/mdast_util_to_markdown/src/configure.rs +++ b/mdast_util_to_markdown/src/configure.rs @@ -70,6 +70,10 @@ pub struct Options { /// Whether to join definitions without a blank line (`b...
5
5
0
[{"id": "G0", "claim": "The fields of the Options struct and its Default implementation (including the newly added single_dollar_text_math entry) should be sorted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added MathFlow and MathF...
null
wooorm__markdown-rs__165
wooorm/markdown-rs
165
defect
283db1af6fdb548a665fbf559bbd6f3e5b9b3eca
aead95b40feb95d1a71bf738954bd6c53eddfd62
new crate feature: allow_all_protocols_in_img
test "unsafe" protocols on image sources here: https://codepen.io/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-/pen/wBvzLmv This is a follow-up on https://github.com/wooorm/markdown-rs/pull/164#issuecomment-2682317922
diff --git a/readme.md b/readme.md index 7f26efc7..3eeccfb1 100644 --- a/readme.md +++ b/readme.md @@ -285,11 +285,22 @@ The following bash scripts are useful when working on this project: The typical security aspect discussed for markdown is [cross-site scripting (XSS)][xss] attacks. Markdown itself is safe if it d...
9
8
2
[{"id": "G0", "claim": "The new switch that permits any image source should be a configuration option rather than a Cargo crate feature (the reviewer asked why it was wrapped in a feature and proposed an option instead, and the author agreed an option is better).", "category": "design", "verdict": "supported", "priorit...
null
wooorm__markdown-rs__60
wooorm/markdown-rs
60
defect
b3a921c761309ae00a51fe348d8a43adbc54b518
51d29a332ba0ca7fb61955766e10f733682f39c7
Fix #26 EOF handling in es_whitespace_inside
Since @ChristianMurphy has gone through the trouble of exposing some issues with the parsing, I thought I would try to fix one https://github.com/wooorm/markdown-rs/pull/26. While this prevents the program from reaching the `unreachable!` statement when parsing `"<"`, I do not know if the solution is correct. I do...
diff --git a/src/construct/partial_mdx_jsx.rs b/src/construct/partial_mdx_jsx.rs index fc03f827..2031a5a9 100644 --- a/src/construct/partial_mdx_jsx.rs +++ b/src/construct/partial_mdx_jsx.rs @@ -1070,17 +1070,19 @@ pub fn es_whitespace_inside(tokenizer: &mut Tokenizer) -> State { tokenizer.consume(); ...
5
3
0
[{"id": "G0", "claim": "kind_after_index should just yield CharacterKind::Whitespace on EOF (index == bytes.length); handling it there would probably be good even though it would not by itself fix this bug.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "...
null
woowacourse-teams__2020-saebyeok__108
woowacourse-teams/2020-saebyeok
108
defect
8200905a6f852e27c3e3bcc12d65b99165e5b629
635c3a652c4ccb03b1d07b78baa03d5a4a9f5c54
#99 감정 필터링 기능 구현하기
Resolved: #99 #98 이슈가 머지되고 이 이슈가 머지되면 프론트의 피드 부분의 필터링 적용을 새 이슈로 준비하겠습니다. 현재는 다이어리의 필터 기능 작동이 되고, 피드에는 준비만 되어있는 상태입니다.
diff --git a/src/docs/asciidoc/api-docs.adoc b/src/docs/asciidoc/api-docs.adoc index 50f0e58e..2d828a89 100644 --- a/src/docs/asciidoc/api-docs.adoc +++ b/src/docs/asciidoc/api-docs.adoc @@ -26,11 +26,21 @@ operation::articles/create[snippets='http-request,http-response,request-headers, operation::articles/get[snipp...
4
4
0
[{"id": "G0", "claim": "Automatically re-selecting every emotion when the user deselects all of them may confuse users ('huh?'); the reviewer asks why the approach discussed at the earlier meeting - sending no server request when everything is deselected and clearing the articles on the front end - was not adopted.", "...
null
woowacourse-teams__2020-saebyeok__112
woowacourse-teams/2020-saebyeok
112
defect
41ed442d045038b2120f1321b103e17b141f03cf
e0aa58e879863479aac3430dc2a311fb0696fc6a
#100 백엔드의 공감 기능 구현하기
백엔드에서 게시물, 댓글에 공감을 하고 공감을 취소하는 기능과 게시물과 댓글을 조회할 때 해당 게시물, 댓글이 받은 공감을 조회해오는 기능입니다! 스프링 시큐리티로 인해 인수테스트들이 `@Disabled` 상태라 추후 보강하도록 하겠습니다.. (PR 날리기 전에 리베이스를 했더니 실제 제가 만든 커밋에 리베이스 이력이 같이 들어갔어요.) 리뷰 부탁드려요 😄 resolves: #100
diff --git a/src/main/java/com/saebyeok/saebyeok/controller/GlobalExceptionAdvice.java b/src/main/java/com/saebyeok/saebyeok/controller/GlobalExceptionAdvice.java index 897eb835..ef9eda96 100644 --- a/src/main/java/com/saebyeok/saebyeok/controller/GlobalExceptionAdvice.java +++ b/src/main/java/com/saebyeok/saebyeok/con...
4
3
0
[{"id": "G0", "claim": "The unique-constraint name \"MEMBER_ARTICLE_UNIUQE\" on ArticleLike contains a typo and should be \"MEMBER_ARTICLE_UNIQUE\".", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Article holding likesCount via @Formula (instead of f...
null
woowacourse-teams__2020-saebyeok__118
woowacourse-teams/2020-saebyeok
118
defect
ccb9ceb4cbd30367ceb72aeb53f5d6998f2adb42
8f639357756bb2c1c64ec89ae4b98c1105e63c72
#116 백엔드 공감 기능에서 내가 공감한 게시물, 댓글인지 여부 받아오기
백엔드에서 게시물과 댓글 정보를 받아올 때, 자신이 해당 게시물과 댓글에 공감한 상태인지 여부를 확인하는 기능을 추가하였습니다! 진행하면서 공감 횟수를 받아오는 코드도 리팩토링하였습니다. 리뷰 부탁드려요 😄 resolves: #116
diff --git a/src/main/java/com/saebyeok/saebyeok/domain/Article.java b/src/main/java/com/saebyeok/saebyeok/domain/Article.java index df1d42b8..ac2aa291 100644 --- a/src/main/java/com/saebyeok/saebyeok/domain/Article.java +++ b/src/main/java/com/saebyeok/saebyeok/domain/Article.java @@ -1,15 +1,16 @@ package com.saebye...
2
2
0
[{"id": "G0", "claim": "A stray extra blank line was inserted inside the addInvalidLikeExceptionTest exception tests (in both ArticleTest and CommentTest) and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Per the test convent...
null
woowacourse-teams__2020-saebyeok__125
woowacourse-teams/2020-saebyeok
125
defect
d8890ab02f50e6fe4362a8ad6dfe32958870a2f7
e71baf7c410e48c9a2b2a9ef7e7c101f8ef56e0a
#115 게시물 / 댓글 삭제 기능 프론트에 구현하기
Resolved: #115 진행하다 보니 article을 삭제할때 comment를 삭제하는 로직이 없더라고요 그런데 comment가 외래키로 article을 참조하고 있는지라 바로 오류가 발생해서 article 삭제 시 거기에 달린 comment도 삭제하도록 일단 로직을 짜뒀습니다. (저번 회의에서도 비슷하게 얘기했던 것으로 기억하는데, 혹여 comment를 지우는 대신 isDeleted만 체크하고 싶다면 CommentService의 해당 로직을 수정하고 외래키 관련 설정만 변경하면 됩니다!!)
diff --git a/src/frontend/src/api/modules/article.js b/src/frontend/src/api/modules/article.js index 84184b68..62b35186 100644 --- a/src/frontend/src/api/modules/article.js +++ b/src/frontend/src/api/modules/article.js @@ -11,6 +11,9 @@ const ArticleService = { }, getAll(params) { return ApiService.getWithPa...
1
1
0
[{"id": "G0", "claim": "In the delete-confirmation popup of DetailCardMenu.vue the title text '요?' wraps to the next line, and it would look better if the font size were reduced or the popup widened so the title fits on one line.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
woowacourse-teams__2020-saebyeok__128
woowacourse-teams/2020-saebyeok
128
defect
d8890ab02f50e6fe4362a8ad6dfe32958870a2f7
905a2eb44e7f46fb652715e109e856dbd09e517a
#124 댓글 분석 API 추가하기와 분석 API 내부 로직 수정하기
resolved #124 article은 아직 삭제 상태가 없어서 우선 댓글만이라도 삭제하지 않은 댓글 기준으로 적용해 봤어요~ 검토 부탁합니다 🙏🏻
diff --git a/src/main/java/com/saebyeok/saebyeok/controller/AnalysisController.java b/src/main/java/com/saebyeok/saebyeok/controller/AnalysisController.java index 00769fa4..34456e2e 100644 --- a/src/main/java/com/saebyeok/saebyeok/controller/AnalysisController.java +++ b/src/main/java/com/saebyeok/saebyeok/controller/A...
1
1
1
[{"id": "G0", "claim": "The comments-analysis liked figure is computed as the number of the member's comments that have at least one like, but the analysis page is supposed to show the total number of likes received across all of the member's comments (e.g. one comment with 10 likes should read 10).", "category": "corr...
null
woowacourse-teams__2020-saebyeok__130
woowacourse-teams/2020-saebyeok
130
defect
d8890ab02f50e6fe4362a8ad6dfe32958870a2f7
2c2633fdce00ad711d86b07c4989a38e0da640cb
#113 프론트엔드와 공감 API 연결하기
안녕하세요 뷰한테 쥐어터지고온 뷰린이 쪼밀리입니다... 여러분 드디어 공감 기능이 완성되었습니다!! 와아아아 🙌 현재 vuex로 article, comment 데이터 조작하는 부분 로직은 구현했지만, 컴포넌트들이 props로 생성되고 있어서 실시간 반영이 안되는 상태예요! 그래서 vuex action도 호출하고, 컴포넌트 측에서도 데이터를 수동으로 업데이트 하도록 구현했습니다! 이후에 프론트 구조를 수정하는 이슈를 하나 따서 리팩토링하고, comment도 store 따로 쓰도록 분리된 후에 공감 기능 리팩토링 들어가겠습니다~ resolve...
diff --git a/src/frontend/src/api/modules/article.js b/src/frontend/src/api/modules/article.js index 84184b68..ef207480 100644 --- a/src/frontend/src/api/modules/article.js +++ b/src/frontend/src/api/modules/article.js @@ -11,6 +11,12 @@ const ArticleService = { }, getAll(params) { return ApiService.getWithP...
2
1
0
[{"id": "G0", "claim": "`article.addLike()` looks like it is no longer needed after this change, since it is now used only in tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The like-toggle logic duplicated across Card.vue and DetailPageCa...
null
woowacourse-teams__2020-saebyeok__191
woowacourse-teams/2020-saebyeok
191
defect
1bdb4477620ad0e71d4dab64a07c2839db71f20d
40c483350482e90aeec9f98afe72a7b21037d196
#184 신고 분류 카테고리 도메인 구현하기
Resolved: #184 신고 카테고리를 구현하고, data.sql에 테스트용 데이터를 만들어 두었습니다. 추가로, 프론트엔드에서 각 신고 카테고리에 대한 설명이 보이는 기능을 추가했어요. 카테고리 아래의 설명 문구는, 카테고리 선택 시에만 그 카테고리의 content 값이 출력되도록 구현했습니다. ![스크린샷 2020-09-16 오후 6 30 40](https://user-images.githubusercontent.com/6245801/93320733-6261c900-f84c-11ea-9bd8-3fdba9a6c27a.png)
diff --git a/src/frontend/src/api/modules/report.js b/src/frontend/src/api/modules/report.js index ea5a6874..1096c933 100644 --- a/src/frontend/src/api/modules/report.js +++ b/src/frontend/src/api/modules/report.js @@ -1,10 +1,22 @@ import ApiService from '@/api'; -const BASE_URL = '/report'; +const BASE_URL = '/rep...
3
3
1
[{"id": "G0", "claim": "Remove the leftover debugging System.out.println statements (\"TWICE IS GREAT\" and the response dump) from ReportController.getReportCategories.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author commits to adding...
null
woowacourse-teams__2020-saebyeok__204
woowacourse-teams/2020-saebyeok
204
defect
f565f12b436d5048b337f7ff4d646d2ae46615c5
4dae9a2fd0166d74e094254e19e71a74d026aeb8
#203 회원 탈퇴 기능 만들기
Resolves: #203 회원 탈퇴 기능을 만들었습니다. 간단하게 회원 탈퇴를 요청하면 `DELETE /member` 로 API 콜을 보내 계정을 비활성화시키는 방식입니다. 회원 탈퇴시 나오는 메시지는 다음과 같아요. <img width="541" alt="스크린샷 2020-09-19 오후 9 00 00" src="https://user-images.githubusercontent.com/13493184/93671823-390d9b00-fae1-11ea-9615-3384b1832469.png"> 이 문구에 살을 붙이거나 뺴는 것...
diff --git a/src/frontend/src/api/modules/member.js b/src/frontend/src/api/modules/member.js new file mode 100644 index 00000000..84337780 --- /dev/null +++ b/src/frontend/src/api/modules/member.js @@ -0,0 +1,11 @@ +import ApiService from '@/api'; + +const BASE_URL = '/member'; + +const Member = { + delete() { + re...
2
1
1
[{"id": "G0", "claim": "Since the backend throws no custom error during deletion, a failure would surface as a bare 400/500 response, so the frontend catch should send the user to the pre-built error page (using catchError in common.js) instead of showing the error object in a snackbar.", "category": "correctness", "ve...
null
woowacourse-teams__2020-saebyeok__220
woowacourse-teams/2020-saebyeok
220
defect
a66e0b1dbb9fbb2a949ad15a5fb68317dd849951
7bbf7087c719df435f450dcd7469979323238d8d
#192 신고 도메인 구현하기
Resolved: #192 신고 도메인 구현 및 프론트엔드와 연결 작업 수행하였습니다. 백엔드에서는 게시물 신고 저장, 댓글 신고 저장이 추가되었습니다. 추가적인 커스텀 예외처리, 테스트 코드, 프론트 수정 등이 쌓이면서 양이 많아졌습니다. 궁금한게 있으면 언제든 코멘트 달거나 메시지 보내주세요 감사합니다.
diff --git a/src/docs/asciidoc/api-docs.adoc b/src/docs/asciidoc/api-docs.adoc index 9af303f5..3ca7c70d 100644 --- a/src/docs/asciidoc/api-docs.adoc +++ b/src/docs/asciidoc/api-docs.adoc @@ -115,3 +115,19 @@ operation::unlikes/comment[snippets='http-request,http-response,path-parameters, === 신고 분류 전체 조회 operation::...
5
5
0
[{"id": "G0", "claim": "The test fixture string in ArticleReportRepositoryTest contains a typo: '신교 내용4' should read '신고 내용4'.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The @Transactional on ArticleRepositoryTest.setUp is redundant because the clas...
null
woowacourse-teams__2020-saebyeok__233
woowacourse-teams/2020-saebyeok
233
defect
49e27900a6b3c20c4647910088eeca7a467e6eff
fa918e2d01af08ea0723748475cffc77982517ed
#219 setter제거 리팩토링하기
resolves #219 ㅎㅎ요즘참 바쁘고 힘드네요 이럴떄일수록 화이팅입니다 ㅎㅎ 리팩토링 내용 위 링크에 남겨놓았어요!!
diff --git a/src/main/java/com/saebyeok/saebyeok/domain/Article.java b/src/main/java/com/saebyeok/saebyeok/domain/Article.java index 02661c0c..e73cd520 100644 --- a/src/main/java/com/saebyeok/saebyeok/domain/Article.java +++ b/src/main/java/com/saebyeok/saebyeok/domain/Article.java @@ -8,6 +8,7 @@ import javax.persi...
4
4
1
[{"id": "G0", "claim": "The config submodule in the branch sits at the wrong version and should be reset to develop's version before merge.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "WRITER_NICKNAME could use default (package-private) access sin...
null
woowacourse-teams__2020-saebyeok__242
woowacourse-teams/2020-saebyeok
242
defect
de15883e07dc825f8914f282a6e2c5ba0131c4ed
7cd6b85d6ab3e6f295fea674a2cb6c201c85806f
#239 프론트엔드의 신고/필터 리팩토링하기
Resolved: #239 작업한 내용은 다음 세 가지입니다. (이슈에도 적어두었어요!! ) - 필터 전체선택 버튼을, 전체가 선택되어 있을때는 전체 해제 버튼으로 바꾸기 - 로그인하지 않은 상태에서 신고 버튼을 누르면 로그인 팝업 띄우기 - 기존에는 신고 제출시에 팝업이 생김. 그러면 작성 후 제출할 떄가 되어서야 로그인해야 하는 걸 알게 되어서, 사용자 불편이 크다고 생각되었음. 더 이른 타이밍에 띄울 수 있나 확인. - 신고 부분의 props를 모두 vuex로 대체하기 크게 수정하기보다는 자잘한 수정이 많았습니다. 수정해 보면서, pro...
diff --git a/src/frontend/src/components/EmotionFilter.vue b/src/frontend/src/components/EmotionFilter.vue index 14e944f7..3819ed61 100644 --- a/src/frontend/src/components/EmotionFilter.vue +++ b/src/frontend/src/components/EmotionFilter.vue @@ -1,21 +1,17 @@ <template> <v-card class="mx-auto rounded-lg" max-width...
2
2
1
[{"id": "G0", "claim": "When the report submit button is pressed, reportCreateRequest is built with targetContentId: undefined and reportTarget: undefined (the vuex reportTarget was never set), so the create-report request fails with a 400.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope":...
null
woowacourse-teams__2020-saebyeok__251
woowacourse-teams/2020-saebyeok
251
defect
a9fbb82a24abeafba004fe5bc19f0511cd70b36a
4ae7a9f1183ae657eb39cad1a8381f6329a1ca0c
#247 JaCoCo 테스트 커버리지 만족을 위한 도메인 및 테스트 수정
resolves: #247 현재는 아직 70%로 되어 있습니다. **카프카(+쿨라임ㅎㅎ)의 PR이 머지되면 80%로 수정하도록 하겠습니다!**
diff --git a/build.gradle b/build.gradle index 98500188..ce38804b 100644 --- a/build.gradle +++ b/build.gradle @@ -80,7 +80,7 @@ jacocoTestCoverageVerification { limit { counter = 'BRANCH' value = 'COVEREDRATIO' - minimum = 0.00 + minimum = 0....
10
9
0
[{"id": "G0", "claim": "The extra spaces in 'public class AnalysisService {' look like a typo, and the unnecessary whitespace can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "JwtTokenProviderTest.java should end with one trailin...
null
woowacourse-teams__2020-saebyeok__44
woowacourse-teams/2020-saebyeok
44
defect
d498dbd75bd0b0e02b282a5c49d48823a4dfad34
ca13181ea1e3ee26f1ebe969f81413611d156a36
#40 댓글 기능 구현 개선하기
resolved: #40 ArticleResponse 변경사항이 있으니 참조하여 주세요🙏🏻
diff --git a/src/main/java/com/saebyeok/saebyeok/controller/ExceptionController.java b/src/main/java/com/saebyeok/saebyeok/controller/GlobalExceptionAdvice.java similarity index 72% rename from src/main/java/com/saebyeok/saebyeok/controller/ExceptionController.java rename to src/main/java/com/saebyeok/saebyeok/controll...
2
2
0
[{"id": "G0", "claim": "The comment-list conversion in ArticleService should use a stream instead of a manual for loop.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @AllArgsConstructor annotation on CommentResponse is unnecessary and shoul...
null
woowacourse-teams__2020-saebyeok__52
woowacourse-teams/2020-saebyeok
52
defect
d1b3682162b5ee78b47660ee177eab5141549a60
9670cbda9dd69a2cbce671424b04cff678b5e163
#48 글쓰기 초기 화면 구성하기
Resolves #48
diff --git a/src/frontend/src/views/Post.vue b/src/frontend/src/views/Post.vue index 7f8e541e..ded9289a 100644 --- a/src/frontend/src/views/Post.vue +++ b/src/frontend/src/views/Post.vue @@ -1,18 +1,97 @@ <template> <div> - <editor></editor> + <v-container> + <v-layout column> + <v-row no-gutters>...
3
1
1
[{"id": "G0", "claim": "It would be good to later store the commonly used colors as constants in a single file.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out pathRewrite line in vue.config.js should be deleted.", "category": "...
null
woowacourse-teams__2020-saebyeok__68
woowacourse-teams/2020-saebyeok
68
defect
04a705c0b670f3c520ee4a7e8ad4d3a1c0c29e05
3550c1593b1291c932eadf29884e842de9672cc4
#56 축소된 회원 가입 및 로그인 API 구현
Resolves #56
diff --git a/build.gradle b/build.gradle index f9da9554..3ca4a1fa 100644 --- a/build.gradle +++ b/build.gradle @@ -37,6 +37,7 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' implementation 'org.springframework.boot:spring-boot-starter-security' implementation...
6
4
0
[{"id": "G0", "claim": "The JWT secret key should not be committed to git and should be managed in the gitignored application-oauth.properties file.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "JwtTokenProviderTest hardcodes the secret key and would ...
null
woowacourse-teams__2020-saebyeok__71
woowacourse-teams/2020-saebyeok
71
defect
811ecd76f0413bbe43a63a81cddc7c666186634f
a0881071aa0d71ce8a98e564c4b2d7c8d6c14ef8
#54 게시물 정보 화면 구성하기
resolved: #54 백엔드에 변경사항이 두 가지 있습니다. - CommentResponse에 createdDate가 빠져있어서 추가 - data.sql에 삭제된 댓글에 대한 케이스 추가
diff --git a/src/frontend/src/App.vue b/src/frontend/src/App.vue index 9ab4e7cc..b6ac1ae8 100644 --- a/src/frontend/src/App.vue +++ b/src/frontend/src/App.vue @@ -12,7 +12,6 @@ <script> export default { - components: {}, props: { source: String } }; </script> diff --git a/src/frontend/src/api/modules/comment....
1
1
0
[{"id": "G0", "claim": "The formatted post time in CreatedDate.vue is computed once and does not update dynamically, so it appears to change only after a refresh (the reviewer suggests it can be refactored later).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
woowacourse-teams__2020-saebyeok__75
woowacourse-teams/2020-saebyeok
75
defect
9c951c1627844fee9039c088d51b63ba8277621b
0e36cd6e96200b94694bb4c1e61db76c5cb29859
#73 감정 도메인 구현하기
Resolved #73
diff --git a/src/main/java/com/saebyeok/saebyeok/controller/EmotionController.java b/src/main/java/com/saebyeok/saebyeok/controller/EmotionController.java new file mode 100644 index 00000000..d6c47fb8 --- /dev/null +++ b/src/main/java/com/saebyeok/saebyeok/controller/EmotionController.java @@ -0,0 +1,34 @@ +package com...
3
2
1
[{"id": "G0", "claim": "The test code mixes `long` and `Long`, and should be unified to `Long` across the other test classes as well.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The last line of truncate.sql should restore FOREIGN_KEY_CHECKS ...
null
woowacourse-teams__2020-saebyeok__76
woowacourse-teams/2020-saebyeok
76
defect
520d383d491f2db1c0f43e6d8ac26a67724ef2bd
fa3a4fcfe56df70ea7ad1366196d5cedb74436ff
#60 피드 기능 추가 구현하기
Resolved: #60 구현사항은 다음과 같습니다. - 백엔드의 Article 로직 수정하여 정렬, 7일 이내 글 노출, 페이징 기능 추가 - 프론트엔드의 feed.vue, diary.vue에 페이징 로직 추가 - 페이징 로직 프론트엔드의 api, store에 모듈화 추후 이슈로 등록하여 관리해야 할 사항은 다음과 같습니다. - 백엔드에 7일 이상 지난 글에 대한 예외테스트가 없음. 이후 게시글 기능 예외 처리(#43) 와 함께 처리해야 할듯함. - 피드로 이동할 때마다 값이 리셋됨. 다른 페이지를 보다가 피드로 돌아왔을때, 피드의 페이징이 유지...
diff --git a/src/frontend/package-lock.json b/src/frontend/package-lock.json index 11d401df..c6863543 100644 --- a/src/frontend/package-lock.json +++ b/src/frontend/package-lock.json @@ -10704,6 +10704,11 @@ "integrity": "sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFh...
2
2
0
[{"id": "G0", "claim": "Remove the leftover TWICE debug-log loop from findAllByCreatedDateTest and assert inside the loop instead (assertThat(article.getCreatedDate()).isAfter(LIMIT_DATE) and assertThat(article.getId()).isNotNull()).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
woowacourse-teams__2020-saebyeok__80
woowacourse-teams/2020-saebyeok
80
defect
2565587f194d4784348cfc0e4200967b7fa1ba91
8b6da44a59097d0da894acfdf3e5a2136b5e2e28
#79 문서화 진행하기
Resolved: #79 build.gradle의 설정은 레벨2 최종미션의 설정을 바탕으로 변경하였습니다. 문서화 테스트 코드 역시 레벨2 최종미션을 바탕으로 하되, 한글 깨짐 이슈가 있어 일부 변경하였습니다.
diff --git a/build.gradle b/build.gradle index 3ca4a1fa..af56fbd0 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ plugins { id 'org.springframework.boot' version '2.3.1.RELEASE' id 'io.spring.dependency-management' version '1.0.9.RELEASE' - id 'org.asciidoctor.convert' version '1.5.8' + id...
1
1
0
[{"id": "G0", "claim": "The '// rest docs' comment in build.gradle carries no special intent and can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
woowacourse-teams__2020-saebyeok__95
woowacourse-teams/2020-saebyeok
95
defect
2b85705fe0f485c73d36fff6ddf123421a20cb75
1ec8feb8260d200911424bfa33c2a306d87b077a
#89 다이어리 분석 페이지의 기본 API 구현하기
시큐리티 부분을 어떻게 잘 처리해야 될 지 몰라서 TDD는 둘째치고 테스트가 빈약한 점 양해 부탁드립니다요..😭 Resolved #89
diff --git a/src/docs/asciidoc/api-docs.adoc b/src/docs/asciidoc/api-docs.adoc index 447fffcc..50f0e58e 100644 --- a/src/docs/asciidoc/api-docs.adoc +++ b/src/docs/asciidoc/api-docs.adoc @@ -61,3 +61,16 @@ operation::emotions/get[snippets='http-request,http-response,request-headers,res === 감정 대분류 상세 조회 operation::e...
9
9
1
[{"id": "G0", "claim": "User-facing notification texts should be handled in the frontend, with the backend sending code-shaped values (like NO_ARTICLE_WRITTEN) instead of storing or returning the display texts.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
woowacourse__prolog__1135
woowacourse/prolog
1,135
defect
24cca154e88798d771b8eed0ae7944038c5c8035
b6bdc8a3bfcab973ecd33f65099129d0a5b11554
feat: curriculum 구현
## curriculum curd #1134 스펙에 맞추어 구현했습니다. - [x] 통합 테스트 코드 구현 - [x] 인수 테스트 코드 구현 - [x] restDocs 구현 - [x] flyway db migration 하기 - [x] 로컬에서 flyway 잘 작동하는지 확인하기 - [x] 최상위 키워드만 조회되도록 구현 ## 논의 사항 Curriculum 별 Session 목록 조회(admin) 로직을 이전 협의 때 Curriculum Controller 에 구현하기로 했는데 보니까 의존관계를 전부 세션이랑 맺어야하더라고요.....
diff --git a/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/CurriculumFixture.java b/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/CurriculumFixture.java new file mode 100644 index 000000000..8cd007135 --- /dev/null +++ b/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/CurriculumFixture.java ...
5
2
0
[{"id": "G0", "claim": "The reviewer suggests moving the validateName call before the field assignments in the Curriculum constructor so validation fails fast.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks what difference the ...
null
woowacourse__prolog__1139
woowacourse/prolog
1,139
defect
1f869fadfc439f403ed6381c5f069bb8ae2baf54
c67b0d853fc6211a543127083a7b82d659b54219
feat: 변경된 Session 기능 구현
## 구현 기능 로드맵 기능에 포함될 변경된 Session 기능 ## 논의 사항 변경된 기능의 Session Update, Delete는 API 명세가 나오지 않았지만 제공하는 API 형식에 맞춰서 구현하였습니다. 추가적으로 변경되거나 수정사항이 있으면 맞춰서 변경하겠습니다. resolved: #1136
diff --git a/backend/src/acceptanceTest/java/wooteco/prolog/steps/NewSessionStepDefinitions.java b/backend/src/acceptanceTest/java/wooteco/prolog/steps/NewSessionStepDefinitions.java new file mode 100644 index 000000000..b274dfa7e --- /dev/null +++ b/backend/src/acceptanceTest/java/wooteco/prolog/steps/NewSessionStepDe...
9
5
0
[{"id": "G0", "claim": "toEntity() should keep calling the existing single-argument Session(name) constructor instead of being changed to pass a null curriculumId explicitly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The multi-result reposi...
null
woowacourse__prolog__1248
woowacourse/prolog
1,248
defect
b4a30472db3367972dbdb4f64a15d3533d0b4aa8
8017c821c4645d8ea7c8bae0e7b7802a1d271009
Feature/1232 hong sile amaranth 테스트 코드 작성
- StudylogLikeService : 각 학습로그의 좋아요/좋아요 취소 기능을 담당하는 서비스입니다. - 위치 : `prolog.studylog.application.StudylogLikeService` - 브랜치 개수 : 2/2 - validateIfMember(boolean isMember)에 1개 (아마도) 해당 API를 호출한 클라이언트가 (익명이 아니라)로그인된 사용자인지 체크 단순히...
diff --git a/backend/src/main/java/wooteco/prolog/studylog/application/CommentService.java b/backend/src/main/java/wooteco/prolog/studylog/application/CommentService.java index a5f253361..413e6cec5 100644 --- a/backend/src/main/java/wooteco/prolog/studylog/application/CommentService.java +++ b/backend/src/main/java/woo...
14
14
0
[{"id": "G0", "claim": "The reviewer asks whether production code may be modified in this test-writing pull request, pointing at the changed lines in CommentService.", "category": "process", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Apply the newly agreed test convention -...
null
woowacourse__prolog__1433
woowacourse/prolog
1,433
defect
8ff6c201074e591e7b8574cfac6ea6a4d02d3955
728c98d00312c4b81617105fe0fe69ff7cc51c74
Feature/1360 로드맵 답변 목록 검색 기능 추가
## #️⃣연관된 이슈 #1360 ## 📝작업 내용 - 로드맵의 답변들을 조회할 수 있다. - 커리큘럼(백, 프론트, 안드), 제일 하위 키워드(동일성과 동등성, enum ...), 퀴즈, 멤버로 필터링하여 조회할 수 있다. close #1360
diff --git a/backend/src/main/java/wooteco/prolog/roadmap/application/EssayAnswerService.java b/backend/src/main/java/wooteco/prolog/roadmap/application/EssayAnswerService.java index 5102e0629..a052c946f 100644 --- a/backend/src/main/java/wooteco/prolog/roadmap/application/EssayAnswerService.java +++ b/backend/src/main...
5
5
1
[{"id": "G0", "claim": "The searchEssayAnswers curriculum lookup should throw the project's defined custom exception (BadRequestException/CURRICULUM_NOT_FOUND_EXCEPTION) instead of IllegalArgumentException.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
woowacourse__prolog__145
woowacourse/prolog
145
defect
88eb283e29a18f9ae4d80ad8b7492bd47ee29971
03772a4705eb206378a16888aba761625b5ccf5a
feat : 포스트 목록 조회 시 정렬 기능 추가
페이징은 응답데이터에 대해 논의해보아야 할 것같아 정렬 먼저 PR날립니당! 현재는 id기준 정렬입니닷
diff --git a/backend/src/docs/asciidoc/post.adoc b/backend/src/docs/asciidoc/post.adoc index 6eb89c021..b14163465 100644 --- a/backend/src/docs/asciidoc/post.adoc +++ b/backend/src/docs/asciidoc/post.adoc @@ -21,6 +21,16 @@ include::{snippets}/post/list/http-request.adoc[] include::{snippets}/post/list/http-response...
3
2
1
[{"id": "G0", "claim": "The reviewer questions whether registering StringToEnumConverter in WebConfig's addFormatters is necessary, suggesting Direction binding would work without this configuration.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Legacy-...
null
woowacourse__prolog__1470
woowacourse/prolog
1,470
defect
8ff6c201074e591e7b8574cfac6ea6a4d02d3955
a4e8892630ba636ec62452cbb634aa9e12cc3a84
키워드별 추천 포스트 어드민 기능을 구현한다
## #️⃣연관된 이슈 - closed #1397 ## 📝작업 내용 - RecommendedPost 엔티티 및 리포지토리 추가 (flyway schema 추가) - 큐컴버 테스트(keyword-recommended-post) 추가 - [어드민용 프론트 페이지 구현](https://github.com/woowacourse/prolog-admin/pull/48)
diff --git a/backend/src/acceptanceTest/java/wooteco/prolog/steps/KeywordRecommendedPostStepDefinitions.java b/backend/src/acceptanceTest/java/wooteco/prolog/steps/KeywordRecommendedPostStepDefinitions.java new file mode 100644 index 000000000..2dfafcb0f --- /dev/null +++ b/backend/src/acceptanceTest/java/wooteco/prolo...
8
8
2
[{"id": "G0", "claim": "The repository should be named RecommendedPostRepository to make clear it manages the RecommendedPost entity.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The POST returns 201 with a Location header whose path has no co...
null
woowacourse__prolog__1472
woowacourse/prolog
1,472
defect
8ff6c201074e591e7b8574cfac6ea6a4d02d3955
df92752b3254fa4f7d8bc51e21543ea558d8be85
feat : 커리큘럼 ID로 키워드들 조회 API 구현
> 연관된 이슈 번호를 모두 작성해주세요 - #1461 ## 📝작업 내용 커리큘럼 ID로 키워드들 조회 - 세션 ID 사용 X
diff --git a/backend/src/main/java/wooteco/prolog/roadmap/application/RoadMapService.java b/backend/src/main/java/wooteco/prolog/roadmap/application/RoadMapService.java new file mode 100644 index 000000000..a8f1b30c1 --- /dev/null +++ b/backend/src/main/java/wooteco/prolog/roadmap/application/RoadMapService.java @@ -0,...
6
3
1
[{"id": "G0", "claim": "The parent==null filter in createResponseWithChildren should be extracted into a Keyword method such as isTopKeyword()/isRoot() for readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The keyword-lookup logic was ...
null
woowacourse__prolog__1509
woowacourse/prolog
1,509
defect
e3ff353094621c15a4931e81545cd17a713011bb
5275a7a0305741a01be92945ac8f9d8d1e89219e
Feature/1474 키워드의 퀴즈 목록을 조회할 때 각 퀴즈 별로 학습 여부를 알 수 있다
## #️⃣연관된 이슈 #1474 ## 📝작업 내용 퀴즈 응답 DTO에 학습 여부 정보를 Boolean 값으로 추가했습니다. 학습 여부는 퀴즈에 대해 답변 게시글을 작성한 경우 true가 됩니다.
diff --git a/backend/src/acceptanceTest/java/wooteco/prolog/steps/QuizStepDefinitions.java b/backend/src/acceptanceTest/java/wooteco/prolog/steps/QuizStepDefinitions.java index 8f9dbb121..a5ad8fa6b 100644 --- a/backend/src/acceptanceTest/java/wooteco/prolog/steps/QuizStepDefinitions.java +++ b/backend/src/acceptanceTes...
6
6
0
[{"id": "G0", "claim": "The single-parameter static factory method EssayAnswerQuizResponse.of(Quiz) should be named from(), per the common convention that one-argument factory methods are called from.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim"...
null
woowacourse__prolog__251
woowacourse/prolog
251
defect
290492f4b2bb2132240a156d61fa05274fd4923b
016bd1c5867e0a40264bfc1765f1310851b813c5
인터셉터 등록 자동화 로직 구현
<img width="359" alt="image" src="https://user-images.githubusercontent.com/33603557/130016866-a82532e1-e6dc-495e-a9fa-421acfae1ac3.png"> 인터셉터 등록을 따로 진행하지 않더라도, `@AuthMemberPrincipal ` 이 등록된 컨트롤러 메서드는 자동으로 인터셉터에 등록됩니다. <img width="435" alt="image" src="https://user-images.githubusercontent.com/33603557/13001696...
diff --git a/backend/build.gradle b/backend/build.gradle index 07a19f96a..56759fa46 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -70,6 +70,9 @@ dependencies { compileOnly 'org.projectlombok:lombok:1.18.20' annotationProcessor 'org.projectlombok:lombok' + // reflections + implementat...
2
2
1
[{"id": "G0", "claim": "Asks whether the auto_interceptor_uri_mapper package could be given a simpler name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer requests restructuring so existing code does not depend strongly on the new class...
null
woowacourse__prolog__301
woowacourse/prolog
301
defect
da603721090cd3323184a5c7e3123e5faa64efc5
2637e08f2a4c3e3ddef12a4ec31da6dff28a0655
feat: 유저 태그 목록 조회 기능 구현
### related #230 유저 태그 목록 조회 기능을 구현했습니다! 생겼던 이슈는 PostTag에서 fetch 전략이 EAGER 이어서 jpql로 프록시로만 가져올 때(Post 관련 정보는 따로 필요하지 않아서) n+1 문제가 발생한 걸 LAZY로 전략을 바꾸었습니다! 그리고 Service test 쪽에도 fixture가 생겼음 편하겠다라는 생각에 필요한 fixture만 우선적으로 생성해서 사용했습니다! 피드백 부탁드릴게요~!!
diff --git a/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/TagAcceptanceFixture.java b/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/TagAcceptanceFixture.java index 37cdcd32b..f27d05214 100644 --- a/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/TagAcceptanceFixture.java +++ b/backend/src/a...
3
3
0
[{"id": "G0", "claim": "Use the PostTags first-class collection so that TagService.findByMember becomes a bit lighter.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename MemberFixture.memberName() to a get-prefixed name to match the get naming used pr...
null
woowacourse__prolog__439
woowacourse/prolog
439
defect
0974c1f364f0616362edeb69ac975614c1df06b3
4286dd3b4a8663964e4f7e2cdcaacdb28a5ff064
refactor: ArgumentResolver 에서 서비스 직접 참조 끊고 LoginMember Dto 로 변환
변경 전, ArgumentResolver 에서 직접적으로 MemberService를 호출해 Member 도메인을 완성하는 과정이었습니다! 변경 후, ArgumentResolver는 Token 값만 확인해 유효한 토큰이 존재한다면 Member 권한을 갖고 유효한 토큰이 아니거나 존재하지 않다면 Anonymous 권한을 갖게끔 설계했습니다. 여기서 사용되는 DTO 명은 `LoginMember` 로 만들었습니다! 그리고 AOP를 이용해 `@OnlyMember`가 붙어있는 api 는 무조건 Member 권한이어야만 호출될 수 있게끔 만들었습니다! (#414 이슈...
diff --git a/backend/src/main/java/wooteco/prolog/DataLoaderApplicationListener.java b/backend/src/main/java/wooteco/prolog/DataLoaderApplicationListener.java index f446c418f..4078a3210 100644 --- a/backend/src/main/java/wooteco/prolog/DataLoaderApplicationListener.java +++ b/backend/src/main/java/wooteco/prolog/DataLo...
2
2
1
[{"id": "G0", "claim": "The new @OnlyMember annotation should be renamed to @MemberOnly, which reads more naturally in English.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Putting authentication logic in the ArgumentResolver breaks the conven...
null
woowacourse__prolog__621
woowacourse/prolog
621
defect
098a4316590e277389036a29b3d4369beeba0f86
ad213023256e19357ed7e57254a5d8954cb1f37d
[사용자리액션] 읽음 기능을 추가한다
### 작업 내용 - [x] 학습로그 조회시 읽음 처리 로직 추가 - 회의 때 논의한대로, (회원 아이디, 글 아이디)를 갖는 테이블에 저장되도록 했습니다. - [x] 학습로그 목록 조회 시 읽음 정보 포함해서 응답하기 - 목록 조회 시 응답은 Scrap 부분 코드 맞춰서 구현했습니다. Close #407
diff --git a/backend/src/main/java/wooteco/prolog/studylog/application/StudylogService.java b/backend/src/main/java/wooteco/prolog/studylog/application/StudylogService.java index d6fed1d6b..c421aa9ae 100644 --- a/backend/src/main/java/wooteco/prolog/studylog/application/StudylogService.java +++ b/backend/src/main/java/...
2
2
1
[{"id": "G0", "claim": "The pull request names the new read-state concept 'viewed'; the reviewers ask to use 'read' (or 'unread') instead for the StudylogViewed entity/repository and the response field.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
woowacourse__prolog__737
woowacourse/prolog
737
defect
99c8eb71bf1ac292fa802e8c34045a18cdc7b8b9
33d57973b9a816d8e40f8dc2bc9928b263c1dd36
feat: RSS 피드 기능 구현
아래처럼 XML 형식으로 응답값이 반환되게 만들었어요. ```xml <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"> <channel> <title>Prolog | 우아한테크코스 학습로그 저장소</title> <link>https://prolog.techcourse.co.kr/</link> <description>우아한테크코스 크루들이 배운 내용을 기록하는 학습로그 저장소입니다.</description> <item> <t...
diff --git a/backend/build.gradle b/backend/build.gradle index c0e2431c8..b5b6d58d8 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -89,6 +89,9 @@ dependencies { // prometheus implementation 'io.micrometer:micrometer-registry-prometheus' + // rss feed + implementation 'com.rometools:ro...
7
7
6
[{"id": "G0", "claim": "The /rss-feeds request path is too long and should be shortened to /rss.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hard-coded link prefix https://prolog.techcourse.co.kr/studylogs/ must be configurable so URLs differ per ...
null
woowacourse__prolog__791
woowacourse/prolog
791
defect
31efeb95581319e33a4c774f3aa444fc15a2ddb7
711c02c166b4cb404a65dab1730f20e4f1ec066f
조회수 정책을 고도화 한다.
인수 테스트 작성되어서 PR먼저 올려 봅니다..! PostController에서는 쿠키체크를 하지않고, StudyLogController에서만 체크하도록 하였습니다. PostController는 사용하지 더 이상 않는 것.. 맞죠? 👀 Consider defining a bean of type 'wooteco.prolog.studylog.application.DocumentService' in your configuration. 요 이슈로 로컬에서 아직 테스트는 못해봤습니다 ㅜㅜ
diff --git a/backend/src/acceptanceTest/java/wooteco/prolog/AcceptanceContext.java b/backend/src/acceptanceTest/java/wooteco/prolog/AcceptanceContext.java index cf0894c7f..50669cd91 100644 --- a/backend/src/acceptanceTest/java/wooteco/prolog/AcceptanceContext.java +++ b/backend/src/acceptanceTest/java/wooteco/prolog/Ac...
1
1
1
[{"id": "G0", "claim": "Locally the view count keeps increasing in duplicate — the cookie-based duplicate-increment prevention does not work; the reviewer asks the author to check.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
woowacourse__prolog__872
woowacourse/prolog
872
defect
4d6d4d61eea8e777156bc60943ab31d50b87384a
8f22abdc72cf2d45a16807c7c4014f9d9b508079
feat: Member nickname을 기준으로 오름차순 정렬 기능 추가
[#812](https://github.com/woowacourse/prolog/issues/812) ### 개선 사항 - [x] pk 기준으로 조회되고 있던 Member List를 nickname 기준으로 오름차순 정렬되도록 가능 구현
diff --git a/backend/src/main/java/wooteco/prolog/member/application/MemberService.java b/backend/src/main/java/wooteco/prolog/member/application/MemberService.java index 66cbe29c2..e7b34258c 100644 --- a/backend/src/main/java/wooteco/prolog/member/application/MemberService.java +++ b/backend/src/main/java/wooteco/prol...
2
2
1
[{"id": "G0", "claim": "Naming the nickname-sorted query `findAll()` can mislead callers into expecting JpaRepository's conventional unsorted result, so the method name should describe the internal sorting behaviour.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
woowacourse__prolog__875
woowacourse/prolog
875
defect
a180683ce7dcd29f9346f0b73bb1f93ecce4d506
d46d45ef3fe9aaaa7e746e9d9077b6bbab157ae9
feat: 리포트 전체 목록 조회
Resolve #860 ### 기능 * 최신순으로 작성된 리포트 목록을 모두 조회 ### Request ```http GET /reports HTTP/1.1 accept: */* host: localhost:4000 connection: Keep-Alive user-agent: Apache-HttpClient/4.5.13 (Java/12.0.2) accept-encoding: gzip,deflate ``` ### Response ```http HTTP/1.1 200 Vary: Origin Vary: Access-Control...
diff --git a/backend/src/acceptanceTest/java/wooteco/prolog/steps/ReportStepDefinitions.java b/backend/src/acceptanceTest/java/wooteco/prolog/steps/ReportStepDefinitions.java index 3b33ab50f..c3d1112ad 100644 --- a/backend/src/acceptanceTest/java/wooteco/prolog/steps/ReportStepDefinitions.java +++ b/backend/src/accepta...
4
3
0
[{"id": "G0", "claim": "The author asks whether the newly added cucumber E2E scenario (report.feature line 53) uses cucumber correctly.", "category": "testing", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "PageableResponse had no generics, so the author applied them and asks wh...
null
woowacourse__prolog__876
woowacourse/prolog
876
defect
4d6d4d61eea8e777156bc60943ab31d50b87384a
1392455d9909c3a1250ef482225bcc02862e0d93
feat: 자신을 수강중인 강의로 등록하는 API 구현
[#859](https://github.com/woowacourse/prolog/issues/859#issue-1218193905) 자신을 특정 강의에 수강중임을 등록할 수 있는 API 구현
diff --git a/backend/src/main/java/wooteco/prolog/session/application/SessionMemberService.java b/backend/src/main/java/wooteco/prolog/session/application/SessionMemberService.java index 1cacd2b39..439ae3980 100644 --- a/backend/src/main/java/wooteco/prolog/session/application/SessionMemberService.java +++ b/backend/sr...
5
4
1
[{"id": "G0", "claim": "For the POST /me endpoint, consider returning the created resource in the response body and/or using HTTP 201 CREATED instead of HTTP 200 OK.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "registerMember should validate that a sessi...
null
woowacourse__prolog__880
woowacourse/prolog
880
defect
42adc06a89577a273294dddb5a9f91bacafdc404
51d7a993773c02642db2d8fd441caa9465a09f78
fix: 임시저장 관련 버그 수정
- [x] `POST API` mission이 null 일 때 임시저장이 되지 않는 문제 - [x] `PUT API`, `GET API` tags가 자동으로 포함되어 오는 문제 - [x] 학습로그 응답에 session 항목도 추가 (변경된 학습로그 응답에 맞춰 통일) Close #879
diff --git a/backend/src/main/java/wooteco/prolog/studylog/application/StudylogService.java b/backend/src/main/java/wooteco/prolog/studylog/application/StudylogService.java index ccc56758f..af09d877a 100644 --- a/backend/src/main/java/wooteco/prolog/studylog/application/StudylogService.java +++ b/backend/src/main/java/...
1
1
1
[{"id": "G0", "claim": "The reviewer asks whether the existing StudylogTags (and Studylog) could be reused instead of adding new parallel temp objects like StudylogTempTags/StudylogTempTag, since a new object would have to be created each time an object related to Studylog, like StudylogTempTag, is added.", "category":...
null
woowacourse__prolog__944
woowacourse/prolog
944
defect
a3ee44a2f831fb4d882ad1a7969d0abb125859e5
cffc44aacda721dc1724edb99b8287542d5b97d9
refactor: 인기있는 학습로그의 필터링 기능 추가
## as-is Curriculum enum을 통해서 정규표현식으로 해당 스터디로그 세션의 값이 프론트엔드, 백엔드인지 확인 ## to-be GroupMember와 MemberGroup을 통해서 해당 스터디로그 작성자가 프론트엔드, 백엔드인지 확인 ## 설명 인기있는 학습로그를 전체, 프론트엔드, 백엔드로 필터링하기 위한 기능입니다. 지난 배포 시 장애의 요소였던 session, mission의 null 값을 처리하지 못했던 문제를 다른 로직으로 변경해서 문제를 해결했습니다. 추가적으로, 현재 인수테스트와 문서테스트가 작성되어 있지 않습...
diff --git a/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/SessionAcceptanceFixture.java b/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/SessionAcceptanceFixture.java index a1685cb8b..e49b725fa 100644 --- a/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/SessionAcceptanceFixture.java +++ b/b...
8
6
3
[{"id": "G0", "claim": "The test's assertions verify data fitted to the implementation rather than the code's behaviour, so the validity of the test's given/when/then should be re-checked.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The method update...
null
woowacourse__prolog__958
woowacourse/prolog
958
defect
a3ee44a2f831fb4d882ad1a7969d0abb125859e5
3e7d18ee2c63ac3005a897cf1425c7a0622e76ea
feat: 학습로그 글쓰기 API 변경 - 글 작성 시점에 역량을 맵핑할 수 있다
## 작업한 내용 - 학습로그 작성 시, 역량을 함께 맵핑할 수 있도록 기능 추가 close #950
diff --git a/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/StudylogAcceptanceFixture.java b/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/StudylogAcceptanceFixture.java index dcb3fb72c..a3fdfaa3e 100644 --- a/backend/src/acceptanceTest/java/wooteco/prolog/fixtures/StudylogAcceptanceFixture.java +++ ...
7
6
0
[{"id": "G0", "claim": "The parent/child ability validation logic would be better served by using a Set for abilities instead of a List, since the current O(n^2) contains check could be reduced to roughly 2n including the List-to-Set conversion cost.", "category": "performance", "verdict": "supported", "priority": "P2"...
null
wopian__kitsu__81
wopian/kitsu
81
defect
a8344e9793984c3eb043bd21954cd9f3f2f56163
c2047e2f897d25d2650fd4221857333f6fbcfb2a
fix: handle relationship arrays (fixes #80)
Adds a spec for #80 and a new serialiser code branch that fixes the issue.
diff --git a/src/util/serialise.js b/src/util/serialise.js index 44f0c8d0..1f1d26f6 100644 --- a/src/util/serialise.js +++ b/src/util/serialise.js @@ -43,6 +43,28 @@ export async function serialise (model, obj = {}, method = 'POST') { // Guess relationship type if not provided if (typeof obj[prop].typ...
4
2
2
[{"id": "G0", "claim": "The new relationship-array processing needs better error handling (author: \"It also needs better error handling\").", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The for loop over the relationship array could be replaced wi...
null
wordpress-mobile__WordPress-Utils-Android__143
wordpress-mobile/WordPress-Utils-Android
143
defect
77d3054ff4742132bcf890115cb4543efb801cd4
c47b21325359b3a7fe34c786ec6644ad46e80041
Fallback to original URL if the beginIndex is invalid
Fixes https://github.com/wordpress-mobile/WordPress-Android/issues/18626 **WordPress-Android PR:** https://github.com/wordpress-mobile/WordPress-Android/pull/20459 ## Description Checks the begin index before calling the substring function to prevent the `StringIndexOutOfBoundsException` ## To test I was not...
diff --git a/WordPressUtils/src/androidTest/java/org/wordpress/android/util/PhotonUtilsTest.java b/WordPressUtils/src/androidTest/java/org/wordpress/android/util/PhotonUtilsTest.java index 0e2d4b301..cf86cc823 100644 --- a/WordPressUtils/src/androidTest/java/org/wordpress/android/util/PhotonUtilsTest.java +++ b/WordPre...
1
1
1
[{"id": "G0", "claim": "The error-path fallback returns `imageUrl` after it has been conditionally mutated, so it is not the original URL and its query is dropped; the reviewer asks to reword the comment to stop claiming \"original\", or better, keep an unmutated copy of the URL at the top of the function and return th...
null
wordpress-mobile__WordPress-Utils-Android__27
wordpress-mobile/WordPress-Utils-Android
27
defect
a15de7604a34a9e989884fb84b8c9adfaeeb97b0
b918b23ac5ac50a69c09ca03fad3fb7e2f43a457
Combined updates from WPAndroid
The utils library hasn't been updated with the WPAndroid changes for a long time. I've pushed the subtree changes from WPAndroid's `develop` so we can combine them into one PR. I don't think we need to review this PR line by line, but it'd be good to have a quick look at the changes.
diff --git a/WordPressUtils/build.gradle b/WordPressUtils/build.gradle index 68772d453..4a0d2981e 100644 --- a/WordPressUtils/build.gradle +++ b/WordPressUtils/build.gradle @@ -1,15 +1,20 @@ buildscript { + ext.kotlinVersion = '1.3.61' + repositories { google() jcenter() } dependenc...
1
1
0
[{"id": "G0", "claim": "Avoid using the dynamic `+` version for androidx.core:core-ktx in the build scripts because it slows down build time and makes it hard to know which library version was used in a given release.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
workalendar__workalendar__174
workalendar/workalendar
174
defect
bc58c400461b9160394d2db18cf5a33044e94d65
c6014a4787fb78e3a3dba6623dd49a4d3c81b0d4
Add Cyprus
refs # <!-- if your contribution is a new calendar --> For information, read and make sure you're okay with the [CONTRIBUTING document](https://github.com/novafloss/workalendar/blob/master/CONTRIBUTING.rst#adding-new-calendars). - [x] Tests with a significant number of years to be tested for your calendar. - ...
diff --git a/CHANGELOG b/CHANGELOG index c7f2f8f9..5c72fb71 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,11 @@ CHANGELOG ========= +1.0.1 (2017-01-07) +------------------ + +- Add Cyprus. thx @gregn610 (#). + 1.0.0 (2016-12-12) ------------------ diff --git a/README.rst b/README.rst index 2c9e3eba..f1603f2...
3
1
0
[{"id": "G0", "claim": "The CHANGELOG entry should reference the pull request number instead of the placeholder '(#)'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Cyprus test should be updated to make sure no other days are present in the h...
null
workalendar__workalendar__191
workalendar/workalendar
191
defect
459a2cc6a95cc643c370c99158f6d29fa948a38c
b38bbbb54858fa10b40b743c874becedec57b2af
Refactor get_weekend_days to use WEEKEND_DAYS more intelligently
If WEEKEND_DAYS is provided in the calendar class then use it to define the weekend, otherwise the calendar author needs to implement get_weekend_days as before.
diff --git a/workalendar/core.py b/workalendar/core.py index 849b628b..64a96ff8 100644 --- a/workalendar/core.py +++ b/workalendar/core.py @@ -17,6 +17,7 @@ class Calendar(object): FIXED_HOLIDAYS = () + WEEKEND_DAYS = () def __init__(self): self._holidays = {} @@ -72,8 +73,12 @@ def get_weeke...
2
1
0
[{"id": "G0", "claim": "The pull request should amend the changelog with a mention describing its changes, as the repository's pull-request template requires.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It is unclear whether the new test_weeken...
null
workalendar__workalendar__201
workalendar/workalendar
201
defect
1e38540819a29fd3e6f77c130c59fbc6d1f46954
064357709a8bec99736e0c7896f8f9e30e5521d6
Malaysia
- [x] Tests with a significant number of years to be tested for your calendar. - [x] Docstrings for the Calendar class and specific methods. - [x] Calendar country / label added to the README.rst file, - [x] Changelog amended with a mention like: "Added ``<country>`` by ``@pseudo`` (#)"
diff --git a/CHANGELOG b/CHANGELOG index 464682aa..1048f808 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,10 @@ CHANGELOG ========= +malaysia (unreleased, gregyhj) +------------------- +- Added Malaysia calendar by @gregyhj. + master (unreleased) ------------------- diff --git a/README.rst b/README.rst inde...
2
2
0
[{"id": "G0", "claim": "The CHANGELOG should be rewritten to follow the guidelines: a single master (unreleased) section listing the Singapore and Malaysia additions, instead of a separate malaysia section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
workalendar__workalendar__235
workalendar/workalendar
235
defect
8a8dc82eb99b57c985506b7e8b9d5294f1e70baa
daa2f639d79fa61cfc5e0c92c90d56ce08086cee
Add Hong Kong calendar. Factor out the Christmas/Boxing Day Sunday s…
…hift as its used in the UK and in HK. Add a test to Poland as an example to ensure it *doesn't* shift countries which don't shift Christmas. Add complicated Sunday shift for the third day of CNY - I would rather loop this than hardcode it, but I didn't want to change the core approach until it had been discussed. ...
diff --git a/CHANGELOG b/CHANGELOG index 3ff0be91..95f4b711 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,7 +4,7 @@ CHANGELOG master (unreleased) ------------------- -Nothing here yet. +- Added Hong Kong, by @nedlowe (#235). 2.0.0 (2017-06-23) ------------------ diff --git a/README.rst b/README.rst index 8128f99...
2
2
1
[{"id": "G0", "claim": "A docstring should be added to the new shift_christmas_boxing_days method in workalendar/core.py for more clarity (explicitly noted as not blocking).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hard-coded \"Boxing Da...
null
workalendar__workalendar__259
workalendar/workalendar
259
defect
4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7
137b21943a175849cfb32cdb31762c8ca29bd033
[Feat] add russia calendar holidays (add-russia)
refs #196 <!-- if your contribution is a new calendar --> For information, read and make sure you're okay with the [CONTRIBUTING document](https://github.com/novafloss/workalendar/blob/master/CONTRIBUTING.rst#adding-new-calendars). - [x] Tests with a significant number of years to be tested for your calendar....
diff --git a/CHANGELOG b/CHANGELOG index 4caf906e..390b10b3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,6 +11,7 @@ master (unreleased) - Update ACT holidays( #251) - First step iteration on the "global registry" feature. European countries are now part of a registry loaded in the ``workalenda.registry`` module. Ple...
1
1
0
[{"id": "G0", "claim": "The holiday label 'Women's Day' should probably read 'International Women's Day'.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
workalendar__workalendar__277
workalendar/workalendar
277
defect
aa81c5161b31bcb233469f902ed03598231b9b01
1081e89c66aaf0888ae0c4adb73fe1b958098c44
Add Angola, fix Portugal holidays, All Souls' Day
refs #276 - Adds Angola holidays <!-- if your contribution is a new calendar --> For information, read and make sure you're okay with the [CONTRIBUTING document](https://github.com/novafloss/workalendar/blob/master/CONTRIBUTING.rst#adding-new-calendars). - [x] Tests with a significant number of years to be...
diff --git a/Changelog.md b/Changelog.md index 2de3b520..a5ef5cf2 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,7 +1,9 @@ # CHANGELOG ## master (unreleased) - +- Added Angola, by @dvdmgl (#276) +- Portugal - removed carnival from, restored missing holidays (#275) +- Added All Souls Day to common (#274) - Allo...
2
2
0
[{"id": "G0", "claim": "The new Changelog entry \"Portugal - removed carnival from, restored missing holidays (#275)\" is garbled — \"from\" hangs without an object — and should be reworded to say what carnival was removed from.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
workalendar__workalendar__316
workalendar/workalendar
316
defect
b0b0f2b323df4dbbcd4bddb7fe881f5d7ffcb089
f597af70371fb231a9175da6a65573afbb2693d7
Fix 2012 and 2002 UK holiday.
closes #315 <!-- if your contribution is a fix --> - [x] Tests with a significant number of years to be tested for your calendar. - [x] Changelog amended with a mention describing your changes.
diff --git a/Changelog.md b/Changelog.md index 68aa605d..9faddb63 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,10 @@ ## master (unreleased) -Nothing here yet. +### Bugfixes + +- Fixed United Kingdom bank holiday for 2002 and 2012. + ## 4.0.0 (2019-01-24) diff --git a/workalendar/europe/united_kingd...
2
1
0
[{"id": "G0", "claim": "Potentially adding None to days via days.extend (line 62 in united_kingdom.py) could create issues.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "non_computable_holiday could also default to an empty list [] instead of None.",...
null
workalendar__workalendar__339
workalendar/workalendar
339
defect
a42a6fb9658a33fda0dc609ee338d0bac4d60760
fa345b1c728c433ffc354c5afc5691179420c877
Add Barbados calendar
replaces and thus, closes #333 - [x] Tests with a significant number of years to be tested for your calendar. - [x] Docstrings for the Calendar class and specific methods. - [x] Use the ``workalendar.registry.iso_register`` decorator to register your new calendar using ISO codes (optional). - [x] Calendar country...
diff --git a/Changelog.md b/Changelog.md index cac74896..518df097 100644 --- a/Changelog.md +++ b/Changelog.md @@ -3,6 +3,7 @@ ## master (unreleased) - Added isolated tests for shifting mechanics in USA calendars - previously untested (#335). +- Added Barbados by @ludsoft. ## v4.2.0 (2019-02-21) diff --git a/R...
1
1
0
[{"id": "G0", "claim": "The variable holding the result of super().get_variable_days() should not be called `christian_days` since, as in the reviewer's own implementation (`western_days`), it also contains non-christian days such as New Year's Eve.", "category": "maintainability", "verdict": "supported", "priority": "...
null
workalendar__workalendar__361
workalendar/workalendar
361
defect
79df7bf0bb1b4536896cfac6da1e500cfd686d19
3b87635a68d5a8a919a42c7c4430782542701c80
Fix Panama calendar independence from Spain
- [x] Tests with a significant number of years to be tested for your calendar. - [x] Changelog amended with a mention describing your changes.
diff --git a/workalendar/america/panama.py b/workalendar/america/panama.py index 89696813..fca079cd 100644 --- a/workalendar/america/panama.py +++ b/workalendar/america/panama.py @@ -21,7 +21,7 @@ class Panama(WesternCalendar, ChristianMixin): (11, 3, "Independence Day"), (11, 5, "Colon Day"), ...
2
1
0
[{"id": "G0", "claim": "Please confirm that the Independence from Spain date is and was always November 28 (not tied to a start year), and add a link or reference document to the pull request description.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
workalendar__workalendar__379
workalendar/workalendar
379
defect
3b66969634fe1c51d0cc5c4ef91254436f354e5c
a81d6f3e36c23ad31f609774b3ee530c94c75bda
Add JapanBank class
refs #369 This PR attempts to create a new calendar, JapanBank that inherits from Japan. The [Bank of Japan publicly lists their official holidays](https://www.boj.or.jp/en/about/outline/holi.htm/). In addition, due to the change in emperor in 2019, there were some additional fixed holidays added that year and s...
diff --git a/Changelog.md b/Changelog.md index 48a03307..0fbd244a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,14 @@ Nothing to see here yet. +## v6.0.0 (...) + +- Added adjustments to 2019-2020 Japan calendar due to the coronation of a new emperor. + +### New Calendar + +- Added JapanBank by @raybuhr (...
3
3
0
[{"id": "G0", "claim": "The changelog should not add a new '## v6.0.0 (...)' release heading; the JapanBank entry belongs under the current 'master (unreleased)' release, whose version number the maintainers assign.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
workalendar__workalendar__388
workalendar/workalendar
388
defect
380acd688552217cc94dcd8b638b105e2af82268
a8413e78c28c05fb81115a876c1b64de06291b34
Fix Romania, mixin order matters when mixing in OrthodoxMixin
- [x] Tests with a significant number of years to be tested for your calendar. - [x] Changelog amended with a mention describing your changes. **Note** *Please do NOT change the version number here. It's the project maintainers' duty.* <!-- Release management - Commit for the tag: - [ ] Edit version in setu...
diff --git a/Changelog.md b/Changelog.md index 757f0d42..add42a4c 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,7 @@ ## master (unreleased) -Nothing here yet. +- Fix Romania, make sure it's Easter is calculated using Orthodox calendar ## v5.2.1 (2019-07-05) diff --git a/workalendar/europe/romania.py...
2
2
1
[{"id": "G0", "claim": "The new Changelog.md entry should say \"its\" rather than \"it's\" (and the small typo plus the flake8 failures should be fixed before merge).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The flake8 issues must be fixed s...
null
workalendar__workalendar__440
workalendar/workalendar
440
defect
33952a45211ae49d29e4ba61dcd92a5a35bdb6ab
663669d3ea05a708dfe1f87a4afdcbd3bd2a7d98
Ukraine
refs # <!-- if your contribution is a new calendar --> For information, read and make sure you're okay with the [Contributing guidelines](https://github.com/novafloss/workalendar/blob/master/contributing.md#adding-new-calendars). - [x] Tests with a significant number of years to be tested for your calendar. -...
diff --git a/Changelog.md b/Changelog.md index 7d127e63..4999259a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,7 @@ # CHANGELOG ## master (unreleased) +- Added Ukraine calendar, by @apelloni. ### ISO Registry API Change diff --git a/README.rst b/README.rst index 8bf6c1ac..f0eaa31e 100644 --- a/READM...
9
8
5
[{"id": "G0", "claim": "The Independence Day logic should be restructured as 'if year == 1991' followed by 'elif year >= 1992' instead of the nested 'if year >= 1991' / 'if year >= 1992' date reassignment.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
workalendar__workalendar__460
workalendar/workalendar
460
defect
d3d1ad6eac5f93e67a9b79b58ddb582c522e02fe
8af6ea36222cb6dc87e49b79b0659cac2f15230e
Fixing the Israel holidays
refs #461 <!-- if your contribution is a fix --> - [x] Tests with a significant number of years to be tested for your calendar. - [x] Changelog amended with a mention describing your changes. **Note** *Please do NOT change the version number here. It's the project maintainers' duty.* <!-- Release management ...
diff --git a/Changelog.md b/Changelog.md index 61b88940..93a2b73f 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,7 @@ ## master (unreleased) -Nothing here yet. +- Added Israel holidays eves and removed holidays which are not affecting the working days in Israel ## v8.0.2 (2020-01-24) diff --git a/wor...
1
1
0
[{"id": "G0", "claim": "The Changelog.md entry should include a reference to issue #461.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
workalendar__workalendar__484
workalendar/workalendar
484
defect
469ac9277fa5c79d2472ca014acdfe3ba3f8a931
1556697c0b4c0055f6845f37d7c5a33b4ea69ba3
Add Kenyan calendar
- [x] Tests with a significant number of years to be tested for your calendar. - [x] Docstrings for the Calendar class and specific methods. - [x] Use the ``workalendar.registry_tools.iso_register`` decorator to register your new calendar using ISO codes (optional). - [x] Calendar country / label added to the README...
diff --git a/Changelog.md b/Changelog.md index a35fda8e..28cce13e 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,7 @@ ## master (unreleased) -Nothing here yet. +- Added Kenyan calendar, by @KidkArolis (#???) ## v8.3.0 (2020-04-14) diff --git a/README.rst b/README.rst index 52152901..b79c6c92 100644 -...
1
1
0
[{"id": "G1", "claim": "The module should import SUN from ..core rather than defining its own SUN = 6 constant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
workalendar__workalendar__647
workalendar/workalendar
647
defect
97c69031736fc7190a0e8fc8dcba170f9b7ac3d1
34581fcc64ff179ce42dbc3c1962264180ece9e9
Update Barbados calendar with public holiday 2021
refs # <!-- if your contribution is a fix --> - [x] Tests with a significant number of years to be tested for your calendar. - [x] Changelog amended with a mention describing your changes. **Note** *Please do NOT change the version number here. It's the project maintainers' duty.* Two new non computable holid...
diff --git a/Changelog.md b/Changelog.md index 34f14c37..e12e0e99 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,7 @@ ## master (unreleased) -Nothing here yet. +- Fix Barbados calendar to add 2 non computable public holiday and fix boxing day computation. ## v15.2.0 (2021-04-23) diff --git a/workalen...
1
1
1
[{"id": "G0", "claim": "Add a few more tests covering the various 'if' branches of the new get_emancipation_day method, to validate that the Emancipation Day algorithm handles all known cases.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
workalendar__workalendar__674
workalendar/workalendar
674
defect
f21888b3d1a57362104cdc04200b0778acbe9de9
71df8dc255671e58e91fbba6f6f2a56910dcf5ba
Replace calverter with convertdate
refs #536 This PR replaces `pyCalverter`, which is no more mantained and has an incompatible license (GPLv2), with [`convertdate`](https://pypi.org/project/convertdate/). - [ ] Tests with a significant number of years to be tested for your calendar. - [x] Changelog amended with a mention describing your change...
diff --git a/Changelog.md b/Changelog.md index 973bc1e2..59df8779 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,8 @@ ## master (unreleased) -Nothing here yet. +- Replace `pyCalverter` with `convertdate` (#536) +- Remove unused `JalaliMixin` ## v15.4.0 (2021-07-12) diff --git a/setup.cfg b/setup.cfg ...
2
1
1
[{"id": "G0", "claim": "The reviewer asks why JalaliMixin (and its associated tests) was removed from the pull request.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request fails the pep8/flake8 checks on its added code and this should be fixed ...
null
workalendar__workalendar__677
workalendar/workalendar
677
defect
1812c9f80dcc468f72d3b7cf8988a13c5abd2633
705e1110c64d9a1a1a0f5273f73b4df397efb65d
Fixed United Kingdom's 2022 holidays
Queens Platinum Jubilee has been added to 3rd of June and the Spring bank holiday has been moved to the 2nd of June <!-- if your contribution is a fix --> - [x] Tests with a significant number of years to be tested for your calendar. - [x] Changelog amended with a mention describing your changes. **Note** *Please ...
diff --git a/Changelog.md b/Changelog.md index 8fa2585a..a6fc9912 100644 --- a/Changelog.md +++ b/Changelog.md @@ -19,6 +19,9 @@ Nothing here yet. - Remove unused `JalaliMixin` - Replace `pkg_resources` with `importlib_metadata` to fetch the version number in `__init__.py` (#657) - Added new badges (pypi, conda, lic...
2
2
2
[{"id": "G0", "claim": "Something may have gone wrong when updating from upstream: the UK 2022 changelog entry should sit in the 'master (unreleased)' section at the top of Changelog.md, and the two lines duplicated from lines 18-19 should be removed from the patch.", "category": "documentation", "verdict": "supported"...
null
workalendar__workalendar__678
workalendar/workalendar
678
defect
2231ecfd6f11387e11e770cb8e2e38b22c554e13
0987bb7373078588464d6c1045970b0536f5f614
Added philippines calendar
refs #396 <!-- if your contribution is a new calendar --> For information, read and make sure you're okay with the [Contributing guidelines](https://workalendar.github.io/workalendar/contributing.html#adding-new-calendars). - [x] Tests with a significant number of years to be tested for your calendar. - [x] D...
diff --git a/Changelog.md b/Changelog.md index df970ae8..f01c3978 100644 --- a/Changelog.md +++ b/Changelog.md @@ -7,6 +7,10 @@ - Replace `pyCalverter` with `convertdate` (#536) - Remove unused `JalaliMixin` +## v15.5.0 (2021-07-18) + +- New calendar: Added Philippines calendar by @micodls (#396) + ## v15.4.0 (202...
4
4
1
[{"id": "G0", "claim": "The PR should not assign a release number or version heading in Changelog.md; the v15.5.0 line should be removed and the changelog item moved under the master section.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Ch...
null
workalendar__workalendar__693
workalendar/workalendar
693
defect
3405e78d677511fc23ea950fc9e2c25cc8c98c4a
3a2ad64a2f1db8331f5ef64064de0156f9385daa
Update China's public holidays for 2022.
Update China's public holidays for 2022. refs # http://www.gov.cn/zhengce/content/2021-10/25/content_5644835.htm
diff --git a/Changelog.md b/Changelog.md index 4f75334d..a1fcf881 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,7 @@ ## master (unreleased) -Nothing here yet. +- Update China's public holidays for 2022. ## v16.1.0 (2021-10-01) diff --git a/workalendar/asia/china.py b/workalendar/asia/china.py index ...
1
1
0
[{"id": "G0", "claim": "The WARNING comment on the China class should be updated to reflect the years now supported, since it still reads 'Support 2018, 2019 currently' even though the change adds 2022.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
workos__authkit-nextjs__147
workos/authkit-nextjs
147
defect
f959bd966ed07de418fe31f35069538479d5fcd7
77a92994e5b705b181ee994c666c84f251f9628b
Add client side auth
Fixes https://github.com/workos/authkit-nextjs/issues/80 Hopefully fixes https://github.com/workos/authkit-nextjs/issues/146 Introduces new auth hooks via the `AuthKitProvider` component. Also separates server and client components so no crypto modules are accidentally included, causing errors in client components ...
diff --git a/README.md b/README.md index 98e05cb3..a8956975 100644 --- a/README.md +++ b/README.md @@ -143,10 +143,10 @@ Custom redirect URIs will be used over a redirect URI configured in the environm ### Wrap your app in `AuthKitProvider` -Use `AuthKitProvider` to wrap your app layout, which adds some protection...
2
1
1
[{"id": "G0", "claim": "The reviewer asks that the documentation also show an implementation of Magic Auth using workos.userManagement.authenticateWithMagicAuth.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The README's client-component example useAu...
null
workos__authkit-nextjs__193
workos/authkit-nextjs
193
defect
2f6a2c7f9a64c64661d0fe91b1800899119913cd
56bdf54148aadb03aecb7647910e3eb9d4f3ea3b
Add onError callback for customizing error handling in handleAuth
Add an optional `onError` callback that can be used to customize how errors are handled in `withAuth`. ```ts import { handleAuth } from '@workos-inc/authkit-nextjs'; export const GET = handleAuth({ onError: ({ error, request }) => { // do something with the error return NextResponse.redirect('/somew...
diff --git a/README.md b/README.md index 52eaa154..2b2806ba 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ export const GET = handleAUth({ | `returnPathname` | `/` | The pathname to redirect the user to after signing in ...
1
1
0
[{"id": "G0", "claim": "The new README table row for `onError` should have its column separators aligned to match the other table rows.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
workos__authkit-nextjs__386
workos/authkit-nextjs
386
defect
519dccff6c76a6d7feb23dabe40e95405406b9f7
2b8fe7bc8d6fb2b353efaf82f997fdcb2cdd8e8f
fix(auth): return signInUrl from server actions to avoid CORS errors
## Summary When `useAuth({ ensureSignedIn: true })` is used in a client component and the user is not authenticated, the library throws CORS errors instead of redirecting to the sign-in page. This happens because `redirect()` is called from within a server action to an external WorkOS authorization URL — the browser's...
diff --git a/src/actions.spec.ts b/src/actions.spec.ts index 9fc0e60..bbd22f3 100644 --- a/src/actions.spec.ts +++ b/src/actions.spec.ts @@ -11,6 +11,7 @@ import { import { signOut, switchToOrganization } from './auth.js'; import { getWorkOS } from '../src/workos.js'; import { withAuth, refreshSession } from '../src...
1
1
0
[{"id": "G0", "claim": "The duplicated sign-in-redirect code block should be DRY-ed up, perhaps by extracting a hasSigninUrl-style helper so the same logic is not repeated in getAuth and refreshAuth.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null