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
srl-labs__containerlab__1654
srl-labs/containerlab
1,654
defect
2c36cc81042a6f8b32c7de252a44eb285fe02890
97dd28062ae735b84566f8bb022b3de9f9237764
Fetch remote topo
Updated code to fetch a remote topology on github. Users can point to a repo with a topology file in it or without, the hyperlink could either be a generic github link or a raw github link. Here is what I've tested: https://github.com/srl-labs/srl-evpn-mh-lab.git https://github.com/srl-labs/srl-evpn-mh-lab ht...
diff --git a/cmd/root.go b/cmd/root.go index 57ad93f44d..a06f23dbe0 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -6,12 +6,14 @@ package cmd import ( "errors" + "fmt" "os" "path/filepath" "time" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" + "github.com/srl-labs/containerlab/utils" ) v...
2
2
2
[{"id": "G0", "claim": "GetYAMLOrGitSuffix has to be rethought and refactored in its entirety because an empty string is in its supported-suffix list (every string HasSuffixes it), making the suffix extraction wrong.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
srl-labs__containerlab__1768
srl-labs/containerlab
1,768
defect
c667992cdc3555af34ef8ed52d051bab7bd536e2
f865ae325f08ba36306fb08229ad024ca2e83751
Update Border0 FKA Mysocketio Commands + Docs
## Update Border0 FKA Mysocketio Commands + Docs As of November 2023, Border0 deprecated programmatic authentication. This changes the code and the corresponding documentation to use their OAuth2.0 "Device Authorization Code" flow. The code for the flow mostly comes from the Border0 CLI's source code directly: ht...
diff --git a/border0_api/border0.go b/border0_api/border0.go index ba66fdf43d..87f0de4e99 100644 --- a/border0_api/border0.go +++ b/border0_api/border0.go @@ -11,12 +11,19 @@ import ( "fmt" "io" "net/http" + "net/url" "os" + "os/exec" "path/filepath" + "runtime" "strconv" "strings" + "time" + "github.co...
1
1
0
[{"id": "G0", "claim": "The device-authorization polling loop should use the backoff library's exponential backoff instead of the manual `i` counter with tiered time.Sleep calls.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
srl-labs__containerlab__1902
srl-labs/containerlab
1,902
defect
aaeb64b8d8384fb55e67d741a2f8bc154dc91893
b0d2d270afbbc6cfe883833e3718fb03bb2b225c
Per-stage command execution
This PR will allow to execute commands in the container when certain stages are reached. Taking a look at the following topology. - L2 will execute `ip l` on entry to the configure stage. - L2 will execute `ip a` as the last step of its deployment (std. behaviour as it is implemented for ever) - L3 will execute `...
diff --git a/clab/clab.go b/clab/clab.go index 6d6bc4174b..3adc35a41b 100644 --- a/clab/clab.go +++ b/clab/clab.go @@ -361,8 +361,8 @@ func (c *CLab) GlobalRuntime() runtime.ContainerRuntime { // is printed after the nodes are created. // Nodes interdependencies are created in this function. func (c *CLab) CreateNod...
1
1
1
[{"id": "G0", "claim": "A stage exec ran before node3's container existed (the exec fired when node3 entered its create stage), failing with 'No such container' and then crashing with a nil-pointer panic in ExecCollection.Log; steiler is asked to look into it.", "category": "correctness", "verdict": "supported", "prior...
null
srl-labs__containerlab__217
srl-labs/containerlab
217
defect
69b146a36c243708af29fdd056594bf2c7edc72b
40840e94ec7fc30543225fb4aabef3864d013926
added env vars configuration
close #170
diff --git a/clab/config.go b/clab/config.go index d483e09827..002f85caf0 100644 --- a/clab/config.go +++ b/clab/config.go @@ -63,6 +63,8 @@ type NodeConfig struct { Ports []string `yaml:"ports,omitempty"` // list of port bindings MgmtIPv4 string `yaml:"mgmt_ipv4,omitempty"` // user-defined IPv4 address in...
2
2
0
[{"id": "G0", "claim": "Maybe allow envs from node, kind and defaults to be merged together (node > kind > defaults) instead of the first non-nil winning.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "mergeStringMaps needlessly creates a new map; m2 can...
null
srl-labs__containerlab__2593
srl-labs/containerlab
2,593
defect
7196f9989aca1be1a694d2a0d8a9f4ea790bc340
49eba7ac494ac80fb07681068c68e7a9c9fd78d3
Add Nornir group support
Like with Ansible, use a label `nornir-group` to add nodes to a Nornir group in the inventory: https://nornir.readthedocs.io/en/latest/tutorial/inventory.html#Inventory Nornir would actually support multiple groups per node, but with the label approach we cannot do that nicely. I wonder if we couldn't find a...
diff --git a/clab/inventory.go b/clab/inventory.go index f18c749ab2..fe98affc8a 100644 --- a/clab/inventory.go +++ b/clab/inventory.go @@ -176,7 +176,6 @@ var nornirSimpleInvT string type NornirSimpleInventoryKindProps struct { Username string Password string - Hostname string Platform string } @@ -185,6 +184...
1
1
0
[{"id": "G0", "claim": "The PR should probably allow setting multiple Nornir groups per node, e.g. by supporting comma-separated values in the nornir-group label.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
srl-labs__containerlab__2644
srl-labs/containerlab
2,644
defect
63677cf9e05b578e60d4a9f49f5243e2c1a8e77a
fa0113f634f23488a82ebb7a4addab53b3190eed
Adding S3 URLs as deploy and startup-config downloadables
Working example of extending containerlab to use s3:// urls for deploy targets as well as for startup-config references. This example just uses the AWS Go SDK, and can use the default credential chain for auth.
diff --git a/clab/clab.go b/clab/clab.go index df0e5a9180..17c9f855ea 100644 --- a/clab/clab.go +++ b/clab/clab.go @@ -271,7 +271,7 @@ func WithTopoFromLab(labName string) ClabOption { } // ProcessTopoPath takes a topology path, which might be the path to a directory or a file -// or stdin or a URL and returns the ...
2
2
2
[{"id": "G0", "claim": "The AWS SDK dragged in for S3 support is extremely heavy (the size analysis shows it adds ~19MB to the binary), and a more lightweight solution is requested instead of dragging it in.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim"...
null
srl-labs__containerlab__2791
srl-labs/containerlab
2,791
defect
a0d41e9b750f44b49cef8264040c4788070d6db3
897e35afda7d97fd195d2aedc9c160dd1554652c
Link subnets
Allow for IP addressing on an interface to be defined inside the topology file ```yaml name: test topology: nodes: n1: kind: nokia_srlinux image: ghcr.io/nokia/srlinux:24.10 n2: kind: nokia_srlinux image: ghcr.io/nokia/srlinux:24.10 links: - endpoints: [n1:e1-1, n2:...
diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 1aa0610dac..8e05106084 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -45,6 +45,7 @@ jobs: - "22*.robot" - "23*.robot" - "24*.robot" + - "25*.robo...
3
1
0
[{"id": "G0", "claim": "The v4/v6 full interface names should be worked out in the Go code, leaving the template to just check whether each family is set and emit the per-family commands, instead of assembling port names inside the template.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sc...
null
srl-labs__containerlab__2802
srl-labs/containerlab
2,802
defect
a18a4e57133cf1192a3844dbbfc6584927b43343
e95e3e1a5512559b8200e9ceebe70de9d7fd9de4
SR-SIM components enhancement
We want to add some nice SR-SIM integration into the vscode extension. The current env var based configuration of the SR-SIM nodes aren't so clean, and schema validation isn't easy either. I propose some new fields under the `components` for `xiom`, `sfm` and `mda`. These still map to env vars, but being dedicat...
diff --git a/nodes/sros/sros.go b/nodes/sros/sros.go index d47a964368..e0154b6b8d 100644 --- a/nodes/sros/sros.go +++ b/nodes/sros/sros.go @@ -58,6 +58,9 @@ const ( envNokiaSrosChassis = "NOKIA_SROS_CHASSIS" envNokiaSrosSystemBaseMac = "NOKIA_SROS_SYSTEM_BASE_MAC" envNokiaSrosCard = "NOKIA_SROS_CAR...
4
3
2
[{"id": "G0", "claim": "The components-based configuration (e.g. per-slot MDA) should also work for non-component-based (single-slot/integrated) routers like SR-1, where sacckth's attempt currently does not work.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
srl-labs__containerlab__2834
srl-labs/containerlab
2,834
defect
3828f87cb7b8984812054ce451506942054566e8
f86d9f94d0c7f500fd154f670ffcfb88e0ef6e3f
Sort components and add base node hostfile/ssh entry for SR-SIM
If I have a topology like below. It will never complete deploying, because the IP address is getting handed to the slot 1 , which is not CPM. Since the CPM doens't have an IP, the deploy keeps waiting for the CPM to get an IP (which never happens). Maybe it is opinionated but I believe we should not force a sequenti...
diff --git a/nodes/sros/sros.go b/nodes/sros/sros.go index 1cbe948264..53d17b58ca 100644 --- a/nodes/sros/sros.go +++ b/nodes/sros/sros.go @@ -16,10 +16,12 @@ import ( "path" "path/filepath" "regexp" + "slices" "strconv" "strings" "text/template" "time" + "unicode" "github.com/beevik/etree" "github....
2
1
1
[{"id": "G0", "claim": "Sorting the components always forces every component container to attach to the CPM-A namespace, which might not be ideal; if sorting is kept, a variable or key needs to be introduced to control which container the other namespaces attach to (e.g. for CPM failover scenarios).", "category": "desi...
null
srl-labs__containerlab__2835
srl-labs/containerlab
2,835
defect
3828f87cb7b8984812054ce451506942054566e8
e6e68dd33ee82a9e33100fae70165c7a19a3bb06
Fix topology merge routine for nil nodes to properly inherit from kinds
Fixes the topology definition merge routines that were broken when using default kinds with nodes that have no explicit image specified. ## Problem When nodes were defined as empty YAML entries (e.g., `sw01:`), they would be parsed as `nil` NodeDefinition objects. The merge functions would return early when encounter...
diff --git a/types/topology.go b/types/topology.go index 5162ac9cc4..251cc7bafc 100644 --- a/types/topology.go +++ b/types/topology.go @@ -19,16 +19,21 @@ func getField[T any]( ) T { fieldDefault := getFieldDefaults(topo.GetDefaults()) + // Check if the node exists in the topology nodeDefintion, ok := topo.Nodes...
1
1
0
[{"id": "G0", "claim": "The variable name `nodeDefintion` is misspelled and should be `nodeDefinition` (missing 'i').", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
srl-labs__containerlab__2868
srl-labs/containerlab
2,868
defect
dccfbfe5c8b40f99df4bd7ac64a77a5a0ca7cf96
9dc2edc2c41df7ded86961e4c2a30e5c1ea7a0f5
Add viper integration for environment variable support with hierarchical naming across all CLI options
- [x] Add viper dependency to go.mod - [x] Create viper initialization function in cmd/root.go - [x] Integrate viper with cobra flags using AutomaticEnv() - [x] Set up CLAB_ prefix for environment variables - [x] Configure key replacer for hyphens, slashes, and dots to underscores - [x] Bind cobra flags to viper - [x] ...
diff --git a/cmd/root.go b/cmd/root.go index 9345885695..79bd466424 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -112,10 +112,20 @@ func Entrypoint() (*cobra.Command, error) { c.AddCommand(cmd) } + // Initialize viper for environment variable support + if err := initViper(c); err != nil { + return nil, err + }...
5
5
1
[{"id": "G0", "claim": "The repeated value-retrieval calls in updateOptionsFromViper are duplication that should be replaced by initialising all flags and their values in one central place.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Flag nam...
null
srl-labs__containerlab__2880
srl-labs/containerlab
2,880
defect
81afb4217c8bde7cf01a85e7d4192ee99c9f9860
33d2919ca04953fc315792838f53df9a0a203cc3
Move endpoint IP addresses out of vars + restore vars functionality
We added IP link vars, however in the process I broke the existing vars functionality. We should move the IPv4/v6 addresses of an endpoint *outside* of vars to the top level (like MTU).. and also restore the old functionality of vars (whereby it's an aribitrary set of values provdied by user).
diff --git a/docs/manual/kinds/cisco_iol.md b/docs/manual/kinds/cisco_iol.md index 10fc152ae0..94ba5930cb 100644 --- a/docs/manual/kinds/cisco_iol.md +++ b/docs/manual/kinds/cisco_iol.md @@ -173,11 +173,11 @@ topology: startup-config: configuration.txt.partial ``` -#### Link variables +#### Link addressing ...
2
2
1
[{"id": "G0", "claim": "The added doc line claims link vars will be rendered in the topology JSON, and hellt asks the author to check whether vars actually end up in the topology-data.json, since the export templates at S1 render no link vars.", "category": "documentation", "verdict": "supported", "priority": "P1", "sc...
null
srl-labs__containerlab__2882
srl-labs/containerlab
2,882
defect
ae629770bcd78c5fa981fe0669974fabcb8a214d
ca9a4c86193eba4ba866f8b12aa58f89dc3df309
Propagate link vars to topology data export
## ✓ Completed: Propagate link vars to topology data export All tasks completed successfully: - [x] Understand current export template structure (auto.tmpl and full.tmpl) - [x] Add GetVars() method to Link interface to expose link-level vars - [x] Implement GetVars() for all link types (automatically inherited from L...
diff --git a/core/export_templates/auto.tmpl b/core/export_templates/auto.tmpl index ba9249db2e..dedeb27e08 100644 --- a/core/export_templates/auto.tmpl +++ b/core/export_templates/auto.tmpl @@ -41,44 +41,50 @@ {{- $eps := $l.GetEndpoints }} {{- $ep := index $eps 0 }} { - "a": { - "node": "...
2
2
2
[{"id": "G0", "claim": "With endpoint-level vars defined in the topology, the export renders an empty vars value (\"vars\": ,) under each endpoint instead of the configured vars.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "After the first fix, va...
null
srl-labs__containerlab__2945
srl-labs/containerlab
2,945
defect
1469eeed53e1fbc6e7ced9bc57cf28ba72165ec8
fa97561ba3f17889bd6b4eeafc00a858acfea308
feat(asav): add support for asav
Adds support for Cisco ASAv firewall. This change includes registering the new node type and implementing its initialization logic, allowing users to deploy Cisco ASAv nodes within their container-based network labs. Adds basic documentation and an example lab for usage. I tested a few things locally with the sample...
diff --git a/core/register.go b/core/register.go index 22d3d0b04d..c7f9c443a9 100644 --- a/core/register.go +++ b/core/register.go @@ -11,6 +11,7 @@ import ( clabnodesc8000 "github.com/srl-labs/containerlab/nodes/c8000" clabnodesceos "github.com/srl-labs/containerlab/nodes/ceos" clabnodescheckpoint_cloudguard "gi...
2
2
1
[{"id": "G0", "claim": "The documentation should use the common default password clab@123 instead of the CiscaoAsa1! password, or at least the credentials shown are a typo and inconsistent with the actual node default.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
srl-labs__containerlab__2951
srl-labs/containerlab
2,951
defect
72f9051da44e9b15f1994beb71f457f9262aa013
da93d254072efa35b8f71f0fabf36f73b9e91661
core/config: Add Git variables to lab topology names
A quick proof-of-concept code I whipped up on a long train ride based on #2949. Works similarly as the magic node name variables that can get substituted in, except for the topology name. I have done some cursory testing, but didn't want to over-commit on that before I get some feedback on the overall idea. This ...
diff --git a/core/config.go b/core/config.go index a751395eff..a7782fa48b 100644 --- a/core/config.go +++ b/core/config.go @@ -12,6 +12,9 @@ import ( "sort" "strings" + gogit "github.com/go-git/go-git/v5" + "github.com/go-git/go-git/v5/plumbing" + "github.com/charmbracelet/log" "github.com/pmorjan/kmod" cla...
2
2
0
[{"id": "G0", "claim": "The branch and hash Git variables should also be recorded as node labels, not just usable in the topology name.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment copied above magicTopoNameReplacer should be adjusted to on...
null
srl-labs__containerlab__3020
srl-labs/containerlab
3,020
defect
afcd50e56e553c46ff8c71dd28ffdf865369c834
c704809574bf3daa4575607e609205a37adf246c
[SR-OS]: reject SR-SIM image when kind is nokia_sros and vice-versa
When kind is set to nokia_sros (vrnetlab), verify the Docker image is not the SR-SIM container image by checking the label org.opencontainers.image.title. If the label value is "srsim", return a clear error instructing the user to use kind: nokia_srsim with that image, or a vrnetlab nokia_sros image for kind: nokia_sr...
diff --git a/nodes/sros/sros.go b/nodes/sros/sros.go index d1d9a070f3..6f252ec737 100644 --- a/nodes/sros/sros.go +++ b/nodes/sros/sros.go @@ -324,8 +324,13 @@ func (n *sros) setupStandaloneComponents() (map[string]string, error) { } // Pre Deploy func for SR-SIM kind. -func (n *sros) PreDeploy(_ context.Context, p...
2
1
0
[{"id": "G0", "claim": "A warn message should be emitted when someone uses `components` with the sros kind, since they need to use `type` and construct the timos line instead.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The helper `boolPtr` added in s...
null
srl-labs__containerlab__3038
srl-labs/containerlab
3,038
defect
7ead3edb0fd6dfcd6089f0319f6b0764bd5a11a4
e0e839df0f602931c4bf2ddb72936b8b6cd8c711
fix: allow destroy by name without topology file
Fixes #2524 When using 'clab destroy --name <lab>' without a topology file, the command now works by using only the lab name to find and remove containers, rather than requiring the topology file to exist. This is useful when: - The topology file was accidentally deleted - Running in CI where the topo file isn'...
diff --git a/cmd/destroy.go b/cmd/destroy.go index 221d7ee69a..0403d2a68d 100644 --- a/cmd/destroy.go +++ b/cmd/destroy.go @@ -89,6 +89,13 @@ func destroyFn(cobraCmd *cobra.Command, o *Options) error { return fmt.Errorf("--all and --name should not be used together") } + // When destroying by name only (no topol...
2
2
1
[{"id": "G0", "claim": "The `if o.LabNameOnly` condition duplicates the enclosing `if o.TopologyFile == \"\" && o.TopologyName != \"\"`, so the else clause can never execute, and the extra LabNameOnly option is unnecessary — the options should be appended based on the single existing condition.", "category": "design", ...
null
srl-labs__containerlab__410
srl-labs/containerlab
410
defect
e7ea3682458da5c00f4de0f075ed287e75fcbced
277200d0f96dd805a4fbb200a869b2edeee5e3cb
added $nodeDir as a variable parameter when binding files or dirs via *.clab.yml
Proposed Implementation for #398. Are we file with using `node.LabDir` or should this be a different directory, maybe even a sub-directory, anything? close #398
diff --git a/clab/config.go b/clab/config.go index 88b291b0dc..8ae328ac61 100644 --- a/clab/config.go +++ b/clab/config.go @@ -480,7 +480,7 @@ func (c *CLab) NewNode(nodeName string, nodeCfg NodeConfig, idx int) error { // initialize bind mounts binds := c.bindsInit(&nodeCfg) - err := resolveBindPaths(binds) + er...
2
1
0
[{"id": "G0", "claim": "The newly added test data file clab/test_data/topo8-bind-nodedir.yml seems to be unused by any test, so it should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be nice to add customization of the node dir pa...
null
srl-labs__containerlab__515
srl-labs/containerlab
515
defect
929abda141fbfc1985c9ccbee6ba51d9c1959f97
e09dfaa34255d64b92acd620bfa266ab07faf660
Merging maps
New MergeDicts function with tests. Merges multiple `vars` dicts (`... map[string]interface{}`) Updated MergeStringMaps to be variadic and accept multiple maps A small change without impact/needing rebase #495
diff --git a/utils/env.go b/utils/env.go index 5cadbb7c33..ce4912c1db 100644 --- a/utils/env.go +++ b/utils/env.go @@ -13,27 +13,50 @@ func ConvertEnvs(m map[string]string) []string { return s } -// mergeStringMaps merges map m1 into m2 and return a resulting map as a new map -// maps that are passed for merging w...
3
3
0
[{"id": "G0", "claim": "The type casting to map[string]interface{} should be replaced with a mapify helper that works on maps with any key type and converts the keys to string.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test maps should ...
null
srl-labs__containerlab__556
srl-labs/containerlab
556
defect
2494d6791975e346ad627718dfe8cd9c1e909bb0
7ca747f95ef681d3e783276a9598e834115cb961
config fix
Bugfixes - TemplatePaths inject @ earlier, enable GetTemplateNameinDirs - "role" --> "clab_role" - "links" --> "clab_links" - ipFarendS - fix invalid IPPrefix
diff --git a/clab/config/template.go b/clab/config/template.go index 92b7737e8b..6b814ed0b5 100644 --- a/clab/config/template.go +++ b/clab/config/template.go @@ -33,9 +33,6 @@ type NodeConfig struct { // Load templates from all paths for the specific role/kind func LoadTemplates(tmpl *template.Template, role string)...
3
3
0
[{"id": "G0", "claim": "The added fmt.Printf(\"%s -- %s\\n\", vs, ipF) debug statement in prepareLinkVars should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added fmt.Printf(\"%v\", paths) debug statement at the top of GetTemp...
null
srl-labs__containerlab__602
srl-labs/containerlab
602
defect
325c0eb64b03da42f7a5ade04bda8d460f15585e
dcf7c6d51948b0f98af181bef64f38cf51e1e39f
Added exec property to nodes
Attempt to implement https://github.com/srl-labs/containerlab/issues/598. This PR implements `exec` list field in `node` component and refactors code(mostly in `cmd/exec.go`). Docs not updated(yet). Here is topo that was used for testing this feature: https://gist.github.com/GrigoriyMikhalkin/23fe014660a17ae45ee5...
diff --git a/clab/config.go b/clab/config.go index 034522cc66..8e213181f4 100644 --- a/clab/config.go +++ b/clab/config.go @@ -37,6 +37,15 @@ const ( defaultVethLinkMTU = 9500 // containerlab's reserved OUI clabOUI = "aa:c1:ab" + + // label names + ContainerlabLabel = "containerlab" + NodeNameLabel = "clab-no...
3
2
2
[{"id": "G0", "claim": "In TestLabelsInit the want map lookup should use the TopoFileLabel constant instead of the stale \"clab-topo-file\" string literal.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "GetNodeExec should append exec commands from d...
null
srl-labs__containerlab__793
srl-labs/containerlab
793
defect
c183acfbe2667fc78d7a01bcea2d6600a7605bd9
bae4bca3cae76059e4ca4aecf982f68d014ed91c
Ansible docker connection inventory compatibility
As per my comment https://github.com/srl-labs/containerlab/issues/649#issuecomment-1047252521 I realized I could just, implement this myself 👯 Currently `ansible_docker_host` is added as a var to all nodes of `kind: linux`, this is a naive assumption and could probably be more of an opt-in option, but let's see ho...
diff --git a/clab/inventory.go b/clab/inventory.go index 87f19569a9..b264297cd0 100644 --- a/clab/inventory.go +++ b/clab/inventory.go @@ -35,7 +35,9 @@ func (c *CLab) generateAnsibleInventory(w io.Writer) error { hosts: {{- range $nodes}} {{.LongName}}: + {{- if (eq (index .Labels "ansible-no-host-va...
4
2
2
[{"id": "G0", "claim": "For `kind: linux` nodes, `ansible_host` takes precedence over `ansible_docker_host` (and both over `inventory_hostname`), so removing `ansible_host` outright would be a breaking change; there should be a way (ideally a per-node configuration label such as `ansible-no-host-var`) to suppress the g...
null
ssbc__go-ssb-room__107
ssbc/go-ssb-room
107
defect
8821b99e277ea445dd79a673a0c530b9fc962a23
9e26f7acf938abc6815e0361d67c5042ca4c6832
Style dashboard
I also checked that both desktop and mobile look good.
diff --git a/web/handlers/admin/handler.go b/web/handlers/admin/handler.go index b2b2ec08..87f14dee 100644 --- a/web/handlers/admin/handler.go +++ b/web/handlers/admin/handler.go @@ -63,11 +63,30 @@ func Handler( // TODO: configure 404 handler mux.HandleFunc("/dashboard", r.HTML("admin/dashboard.tmpl", func(rw ht...
4
3
1
[{"id": "G0", "claim": "The dashboard handler should count members, invites and denied keys via new Count() methods on the roomdb interfaces instead of fetching full lists with List() and taking len().", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Count...
null
ssbc__go-ssb-room__179
ssbc/go-ssb-room
179
defect
2007c732957ddaecef52d42d226f5f5481556818
8f4e98eed7c2d877ba9af9d3e9b3e67320d33a00
disable ui if user is unelevated
This PR adds a couple new helper functions to determine the role of the member when viewing pages. It also introduces changes to the views if the member is not allowed to perform the various actions (manage permission levels, ban others, change room settings) The following screenshots are from a user with the role m...
diff --git a/web/handlers/admin/setup_test.go b/web/handlers/admin/setup_test.go index c8bb2f8c..eeac3fb0 100644 --- a/web/handlers/admin/setup_test.go +++ b/web/handlers/admin/setup_test.go @@ -133,6 +133,10 @@ func newSession(t *testing.T) *testSession { testFuncs["urlToNotice"] = func(name string) string { return ...
7
6
1
[{"id": "G0", "claim": "The pull request's tests seem to be failing and staltz asks the author what the reason is.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "For the disabled cases the PR should avoid the browser's default styling and use tailwind's...
null
ssbc__go-ssb-room__198
ssbc/go-ssb-room
198
defect
fa6fa3267e4b9354b7af004835dd13d40d4dc237
018b26462d78ae8ed1cc1b0c0fbaec2020dfe40c
check that roomstate doesn't keep stale connections
fixes #46
diff --git a/go.mod b/go.mod index 62287bea..7100ab3a 100644 --- a/go.mod +++ b/go.mod @@ -29,7 +29,7 @@ require ( github.com/volatiletech/sqlboiler-sqlite3 v0.0.0-20210314195744-a1c697a68aef // indirect github.com/volatiletech/sqlboiler/v4 v4.5.0 github.com/volatiletech/strmangle v0.0.1 - go.cryptoscope.co/muxrp...
1
1
0
[{"id": "G0", "claim": "The test client variable names srh and tal are unclear and the naming could be made more descriptive.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
ssbc__go-ssb-room__200
ssbc/go-ssb-room
200
defect
57c1375e54df1c4586ae70aa601f57136f0dee30
47e310f6b7de03862896ba92043f4cfec75fbcae
Privacy mode tests 💯 💯
This PR implements most of the missing tests of #96; closes #96. Not implemented: tests for the open mode, because we're lacking anything meaningful on that front as of yet :) ``` YUP member cannot create invite YUP moderator can create invite YUP admin can create invite YUP non-members cannot...
diff --git a/muxrpc/test/go/deny_test.go b/muxrpc/test/go/deny_test.go index 5c8ca12b..c0b96035 100644 --- a/muxrpc/test/go/deny_test.go +++ b/muxrpc/test/go/deny_test.go @@ -84,3 +84,141 @@ func TestConnEstablishmentDeniedKey(t *testing.T) { cancel() } + +func TestConnEstablishmentDenyNonMembersRestrictedRoom(t *...
3
3
1
[{"id": "G0", "claim": "The new failure branch of TestInvitesCreate asserts http.StatusInternalServerError, while its own TODO questions whether the status for a denied invite creation should be http.StatusForbidden instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
ssbc__go-ssb-room__218
ssbc/go-ssb-room
218
defect
81c05a663d97a02f249019037b89e3bb2863ce1b
9038d305dcdfb855491b252efaf9fc250d4e6a65
add metadata to isRoom
Fixes #58
diff --git a/muxrpc/handlers/tunnel/server/plugin.go b/muxrpc/handlers/tunnel/server/plugin.go index 80499bff..61b08b9d 100644 --- a/muxrpc/handlers/tunnel/server/plugin.go +++ b/muxrpc/handlers/tunnel/server/plugin.go @@ -7,9 +7,9 @@ import ( "go.cryptoscope.co/muxrpc/v2" "go.cryptoscope.co/muxrpc/v2/typemux" + ...
2
2
1
[{"id": "G0", "claim": "The membership check in isRoom needs an else (or equivalent handling) so that a non-member caller gets a reply with membership:false instead of the ErrNotFound error being returned.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
ssbc__go-ssb-room__220
ssbc/go-ssb-room
220
defect
27fc5713cc3e246fe1c34097ee207e4abf3ee907
634f464d64f14a94167a15627127e04d47d1e660
room.attendants
as discussed in #110, this implements the new endpoint with less overhead/redundancy. updates #89 the patchset is a bit noisy because i renamed stuff to disambiguated endpoints and attendants.
diff --git a/internal/broadcasts/attendants.go b/internal/broadcasts/attendants.go new file mode 100644 index 00000000..0ad1fd98 --- /dev/null +++ b/internal/broadcasts/attendants.go @@ -0,0 +1,121 @@ +// SPDX-License-Identifier: MIT + +package broadcasts + +import ( + "io" + "sync" + + "github.com/ssb-ngi-pointer/go-s...
6
4
0
[{"id": "G0", "claim": "The pull request should preserve the legacy tunnel.isRoom and tunnel.endpoints methods, because removing or renaming them would break go-ssb-room support for Patchwork users.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The intern...
null
ssbc__go-ssb-room__221
ssbc/go-ssb-room
221
defect
4d3b880acc8588ca0c5422a868674d674d94d59b
f6e265127fbc713038934187f4a7bb54ea57adf8
use goreleaser for packaging .deb release
updates #203 TODO: - [x] builds a `.deb` that can be installed - [x] embeds docs/README and example config for nginx - [x] creates systemd service that can be enable easily - [x] post-install help text - [x] #52 - [x] Archlinux AUR for the totally wired: https://aur.archlinux.org/packages/go-ssb-room-git/ - ...
diff --git a/.gitignore b/.gitignore index fbe08421..2766f099 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,6 @@ roomdb/sqlite/testrun # build artifacts from node.js project web/styles node_modules + +# goreleaser output +dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 000000...
1
1
0
[{"id": "G0", "claim": "The LICENSE copyright line misspells the team name as 'Tream' and should be corrected to 'Team'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ssbc__go-ssb-room__320
ssbc/go-ssb-room
320
defect
0535ba14e08bf671528aecf753ea75c6ab0d1af6
d5da6aa590ed7c01d1adf20d85705d171a47cca3
Add a listAliases muxrpc endpoint
I would like to get some feedback on adding a function similar to this one. This would make it possible to retrieve a list of all aliases for a particular user. This list could be used by users to preview their aliases without using the web interface.
diff --git a/muxrpc/handlers/alias/handler.go b/muxrpc/handlers/alias/handler.go index 016091d7..e33efadd 100644 --- a/muxrpc/handlers/alias/handler.go +++ b/muxrpc/handlers/alias/handler.go @@ -147,3 +147,47 @@ func (h Handler) Revoke(ctx context.Context, req *muxrpc.Request) (interface{}, return true, nil } + +f...
2
2
2
[{"id": "G0", "claim": "The pull request's new listAliases endpoint would need tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The List handler's error handling was copied from Register: it checks for ErrAliasTaken, which listing cannot produce, a...
null
ssbc__go-ssb-room__43
ssbc/go-ssb-room
43
defect
f774817536669c4f2ce2fe356a172d047ef5e780
2156ed1af02a1694ef964371d3e8b0c0250f4466
Style the notices
Work in progress ![Screenshot from 2021-02-25 18-41-06](https://user-images.githubusercontent.com/90512/109186469-9ea13a00-7799-11eb-8a6b-8fdc803ccef9.png)
diff --git a/web/handlers/http.go b/web/handlers/http.go index ff6b5a00..4f88bb5f 100644 --- a/web/handlers/http.go +++ b/web/handlers/http.go @@ -5,11 +5,15 @@ package handlers import ( "errors" "fmt" + "html/template" "net/http" + "net/url" + "strconv" "time" "github.com/gorilla/csrf" "github.com/goril...
3
2
1
[{"id": "G0", "claim": "The hardcoded \"en-GB\" locale in the landing-page notice lookup should be replaced with some variable, to be decided.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TestIndex fails with a nil-pointer panic at web/handlers/ht...
null
ssbc__go-ssb-room__95
ssbc/go-ssb-room
95
defect
585554b456d87c66f1dc3aa263d238d4974bb369
81dd6e94857b1b8229a529d9e338d244b0410dcb
add JS test for alias register and revoke
This is based on #85 which should be merged first. I wanted to add a test for aliases to it but couldn't. 1) The client plugin needs a new version after https://github.com/ssb-ngi-pointer/ssb-room-client/pull/1 2) even with master of the above I get this: ``` /home/cryptix/ssb/ssb-room-client/lib/plugin-room...
diff --git a/muxrpc/test/nodejs/aliases_test.go b/muxrpc/test/nodejs/aliases_test.go new file mode 100644 index 00000000..44994cc2 --- /dev/null +++ b/muxrpc/test/nodejs/aliases_test.go @@ -0,0 +1,56 @@ +package nodejs_test + +import ( + "testing" + "time" + + "github.com/ssb-ngi-pointer/go-ssb-room/aliases" + + "githu...
2
2
1
[{"id": "G0", "claim": "Running the JS alias test surfaces a Go error on revoke — 'revokeAlias: not your alias (moderators need to use the web dashboard of the room' — because the mocked alias store has no record of the registered alias.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i...
null
ssbc__muxrpc__37
ssbc/muxrpc
37
defect
0a222cc1830b331a69a643b6b0b0917ac5817e13
b95230a04772b834597a96b2cbdf2517cdb14278
Bootstrap manifest in client if none was given
Add functionality to call a manifest method on the server in order to bootstrap the manifest. This pre-supposes that the server has a manifest method, so those using this functionality should ensure that is the case, as a convention.
diff --git a/api.js b/api.js index 35a4b16..f7702ea 100644 --- a/api.js +++ b/api.js @@ -15,7 +15,7 @@ function noop (err) { if (err) throw explain(err, 'callback not provided') } -module.exports = function (path, remoteApi, _remoteCall) { +module.exports = function (path, remoteApi, _remoteCall, bootstrap) { ...
3
1
1
[{"id": "G0", "claim": "Instead of passing a boolean `bootstrap` and adding a reserved `bootstrap` method (which collides with any user method of that name), pass a `bootstrapCallback` that, when provided, makes the client bootstrap and call back, since ssb-client is already async so the api would not actually change."...
null
ssbc__muxrpc__58
ssbc/muxrpc
58
defect
ecde2f7d9645f1e0c2451c73362e2bfebb205fe3
59c1a930f9c1ddad8c7847980057da49a7442041
Add promise option
This adds an optional promise-based style for async and sync methods from the remote API. I also started adding this to the `local-api.js` file but wasn't sure.. where should I add tests for that?
diff --git a/remote-api.js b/remote-api.js index b0db686..b3753be 100644 --- a/remote-api.js +++ b/remote-api.js @@ -10,10 +10,6 @@ function isObject (o) { return o && 'object' === typeof o } -function noop (err) { - if (err) throw explain(err, 'callback not provided') -} - //add all the api methods to the emit...
2
2
1
[{"id": "G0", "claim": "The condition deciding which method types support promises should be an explicit `type === 'async' || type === 'sync'` instead of `type.endsWith('sync')`, for readability, searchability and future-proofing.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr...
null
ssbc__muxrpc__83
ssbc/muxrpc
83
defect
5138b9d6516a48e7713856be0ac4ddf8c24f5a2b
49efb54d46a251dacb1b6d38217c0bb628915703
remove legacy mode and bind api to emitter
## Context In [secret-stack I recently added support for more identifiers](https://github.com/ssbc/secret-stack/pull/86) so that we can different kinds of IDs depending on the muxrpc transformer used (secret-handshake? no-auth? secret-handshake-extended? etc) ## Problem muxrpc still used ```js createLocalA...
diff --git a/index.js b/index.js index 88e9120..bb85722 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ const initStream = require('./stream') const createRemoteApi = require('./remote-api') const createLocalApi = require('./local-api') -function createMuxrpc (remoteManifest, localManifest, localApi, id, perms...
1
1
1
[{"id": "G0", "claim": "The README should be updated, since the function signature of createMuxrpc changed in this pull request (the legacy parameter was removed) and the documented API no longer matches the code.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sse-secure-systems__connaisseur__1630
sse-secure-systems/connaisseur
1,630
defect
0ab106f9c0b50ff49bdaccb033ee8ace8d05659d
f07c197cdc3482daa517db63b56f54c59104c160
fix: remove startup probe
In some cases the Redis pod isn't reachable by Connaisseur, which results in Connaisseur never starting up even though it could perform its task even without the Redis pod. Thus the startup probe for Connaisseur, trying to reach the Redis pod was removed. ## Checklist <!--- Mark as done if a point is not necessary....
diff --git a/charts/connaisseur/templates/deployment.yaml b/charts/connaisseur/templates/deployment.yaml index 0e6959f87..9612ef164 100644 --- a/charts/connaisseur/templates/deployment.yaml +++ b/charts/connaisseur/templates/deployment.yaml @@ -42,13 +42,6 @@ spec: path: /ready port: https...
3
2
1
[{"id": "G0", "claim": "Unconditionally calling cache.Ping before every cache.Get adds a roundtrip of latency in the usual case where the cache works, since a failing Get would surface the problem anyway.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
sse-secure-systems__connaisseur__2073
sse-secure-systems/connaisseur
2,073
defect
6cd31e184a9177a8f5f1d98405a7c3cc619655f4
12670346fc5f2c13499513111689dc591b0b51e6
feat: Allow updates to resources marked for deletion
<!--- Provide a general summary of your changes in the Title above --> Allow updates to resources marked for deletion <!--- Reference respective issue if it exists --> Fixes #2053 ## Description Previously, we validated admission requests on creation and update. For deletion, we do not block requests as reso...
diff --git a/charts/connaisseur/Chart.yaml b/charts/connaisseur/Chart.yaml index 98de586bd..2b2f4b9a6 100644 --- a/charts/connaisseur/Chart.yaml +++ b/charts/connaisseur/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: connaisseur description: Helm chart for Connaisseur - a Kubernetes admission controller to integrate...
2
1
0
[{"id": "G0", "claim": "The Kubernetes deletion timestamp can be set in the future, so the new `deleted` flag (pod.DeletionTimestamp != nil) may mark a workload as deleted before it is actually terminating.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
sshuttle__sshuttle__122
sshuttle/sshuttle
122
defect
fee5868196a35d9cd929c86363a87ddc4956aae5
5087329d8e5a3665422c797374e68f5ac189a154
Tests and documentation for systemd integration
Some tests and documentation for the systemd notification feature. Also fixes some corner case issues detected while writing the tests. (Did I got the rst syntax right?)
diff --git a/docs/requirements.rst b/docs/requirements.rst index 798cdcb10..f070361cb 100644 --- a/docs/requirements.rst +++ b/docs/requirements.rst @@ -49,6 +49,8 @@ Supports: * IPv4 TCP * IPv4 DNS +* IPv6 TCP +* IPv6 DNS Requires: @@ -72,3 +74,19 @@ Additional Suggested Software - You may want to use auto...
2
2
0
[{"id": "G0", "claim": "The new sentence about systemd notification should end with a full stop or colon.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code-block emphasizes line 6 (Type=notify) without the documentation explaining why that l...
null
sst__opencode__4007
sst/opencode
4,007
defect
ba8bc1b8b488e10eec8c0b915a753f4810164343
9697dedfc59f2a661310e1818e7c3b1438c110e4
fix(lsp): handle optional requests to avoid MethodNotFound (-32601) with MATLAB Language Server
# Fix: Handle optional LSP requests to avoid `MethodNotFound` (-32601) crashing LSP server (`matlab-language-server`) Fixes #4003 ## Summary - Add no-op handlers for `client/registerCapability` and `client/unregisterCapability`. - Implement `workspace/workspaceFolders` response aligned with the initialize root. - Eli...
diff --git a/packages/opencode/src/lsp/client.ts b/packages/opencode/src/lsp/client.ts index 1a6e2cb71efc..d84716c8d858 100644 --- a/packages/opencode/src/lsp/client.ts +++ b/packages/opencode/src/lsp/client.ts @@ -62,6 +62,14 @@ export namespace LSPClient { // Return server initialization options return ...
1
1
0
[{"id": "G0", "claim": "Replace the `({} as any)` return casts on the client/registerCapability and client/unregisterCapability handlers in packages/opencode/src/lsp/client.ts with the plainer `async () => {}` form.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sst__opencode__4724
sst/opencode
4,724
defect
6d630901b6d8804ab2bd9429d7fb664c7d18106c
412716249caee1949579ee28684f32c89a0525d2
fix: merge plugin selections (resolves #4565)
Resolves #4565. I stumbled onto a version of 4565 myself while I was messing around editing opencode's source: when I launched opencode in it's own source directory, my bell plugin at `~/.config/opencode/plugin/bell.ts` (just plays a sound when the session idles, nothing fancy) stopped making noise. After poking aro...
diff --git a/.opencode/command/commit.md b/.opencode/command/commit.md index 9626f172cf98..2e3d759b654e 100644 --- a/.opencode/command/commit.md +++ b/.opencode/command/commit.md @@ -1,6 +1,5 @@ --- description: Git commit and push -subtask: true --- commit and push diff --git a/packages/opencode/src/cli/cmd/tui/...
3
3
1
[{"id": "G0", "claim": "Restore the 'subtask: true' frontmatter flag in .opencode/command/commit.md that the pull request removed, undoing the unintended change.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Revert the UserMessage paddingLeft from ...
null
sstsimulator__sst-core__1093
sstsimulator/sst-core
1,093
defect
14b38c44275c605c7565a63a32c22a711032c539
2111e3664f40d4c09de14fd8a2bd07ce7980f060
Modified TraceFunction object to require that an environment variable…
… be set to enable output. This makes it possible to leave the TraceFunction calls in while developing, but still be able to run and pass testing.
diff --git a/src/sst/core/output.cc b/src/sst/core/output.cc index 2b06da6bb..ecdd35c84 100644 --- a/src/sst/core/output.cc +++ b/src/sst/core/output.cc @@ -24,6 +24,7 @@ #include <atomic> #include <cerrno> #include <cinttypes> +#include <cstdlib> // System Headers #ifdef HAVE_EXECINFO_H @@ -525,17 +526,28 @@ Tr...
1
1
1
[{"id": "G0", "claim": "In TraceFunction::output the oversized-format branch re-formats into the newly allocated n+1 buffer but still passes 200 as the size — should it use n instead?", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sstsimulator__sst-core__1264
sstsimulator/sst-core
1,264
defect
291f8cc1ea8b3fa514ab33761bae04b51dc7872c
0be2516c67f96b31f6b0b327aed727bedd967d3d
Output directory fix
Added a SST::Util::Filesystem to track the --output-directory option and provide helper functions for ensuring files generated in the core are create there. Also added the ability to specify the filename format for checkpoints.
diff --git a/config/sst_check_filesystem.m4 b/config/sst_check_filesystem.m4 new file mode 100644 index 000000000..c84f3fe27 --- /dev/null +++ b/config/sst_check_filesystem.m4 @@ -0,0 +1,26 @@ +AC_DEFUN([SST_CHECK_FILESYSTEM], +[ + AC_LANG_SAVE + AC_LANG([C++]) + # In older versions of gcc implementation of std::fi...
4
4
0
[{"id": "G0", "claim": "The commented-out // #include <filesystem> line in checkpointAction.cc should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The added comment in checkpointAction.cc misspells \"one of\" as \"on of\".", "cat...
null
sstsimulator__sst-core__1577
sstsimulator/sst-core
1,577
defect
ecf13543edb61e9e12b666b98941e999d3cc87bd
decd1d172a67b50e23903c4041771a3d6030fb32
Switch from Handler2 back to Handler
Handler and Handler2 are now the same thing. Handler2 is deprecated and will be removed in SST 17
diff --git a/src/sst/core/clock.h b/src/sst/core/clock.h index ea1ea3563..3484f2750 100644 --- a/src/sst/core/clock.h +++ b/src/sst/core/clock.h @@ -50,7 +50,7 @@ class Clock : public Action In which case, the class is created with: - new Clock::Handler<classname>(this, &classname::function_name) + ...
1
1
0
[{"id": "G0", "claim": "The deprecation message should be reworded for clarity to something like \"The name Handler2 has been deprecated and will be removed in SST 17. Please rename Handler2 to Handler.\", since the Handler signature changed as well and the current \"Please use Handler instead\" does not say the name m...
null
sstsimulator__sst-core__630
sstsimulator/sst-core
630
defect
c7bf934a4c906ce9001dce6ab6eb51e5b1b20037
7761ecc0987a1f8a63984294cf5dde548e9d2cb4
Added the ability to loopback a link to the same port
Also, added a set of tests for links in the core tests. Added versions of link configuration functions that take UnitAlgebra as the timebase.
diff --git a/src/sst/core/baseComponent.cc b/src/sst/core/baseComponent.cc index 92a580ef5..f147f298b 100644 --- a/src/sst/core/baseComponent.cc +++ b/src/sst/core/baseComponent.cc @@ -310,6 +310,12 @@ BaseComponent::configureLink(const std::string& name, const std::string& time_ba return configureLink(name,Simula...
1
1
1
[{"id": "G0", "claim": "In the doc comment for the new configureLink overload, the time_base parameter is described as a string even though the overload takes a UnitAlgebra, and the reviewer asks that it be corrected to \"as a UnitAlgebra\".", "category": "documentation", "verdict": "supported", "priority": "P1", "scop...
null
sstsimulator__sst-core__818
sstsimulator/sst-core
818
defect
a1401d5370a2070156057e8715020a64caf04432
1a5617779b9be3a2f8f59160bf353d54f2bbfebe
Deprecated Simulation::getSimulation()
Added all APIs that weren't already in BaseComponent to the BaseComponent API.
diff --git a/src/sst/core/baseComponent.cc b/src/sst/core/baseComponent.cc index 5df51fb76..1b166f536 100644 --- a/src/sst/core/baseComponent.cc +++ b/src/sst/core/baseComponent.cc @@ -386,6 +386,12 @@ BaseComponent::getElapsedSimTime() const return Simulation_impl::getSimulation()->getElapsedSimTime(); } +SimT...
2
2
1
[{"id": "G0", "claim": "getEndSimCycle() and getFinalSimTime() use different terms for the same concept, and the reviewer asks to change them to a single term while the PR is at it (suggesting getFinalSimCycle is easiest but preferring \"End\").", "category": "maintainability", "verdict": "supported", "priority": "P2",...
null
st-tech__zr-obp__133
st-tech/zr-obp
133
defect
e41e5ee431b14a7dc4fd18425e84839837d91bf9
514e7572fb4e83fc80a67233caddb704c0c5d7dd
Feature/self normalized slate ope
# Overview - Add self-normalized slate OPE estimators - We calculate the denominator of each slot by the slot-level empirical average # Change points - [x] estimators_slate - [x] test_estimators_slate
diff --git a/obp/ope/__init__.py b/obp/ope/__init__.py index 57d23eb5..fb4b5590 100644 --- a/obp/ope/__init__.py +++ b/obp/ope/__init__.py @@ -17,6 +17,9 @@ from obp.ope.estimators_continuous import KernelizedDoublyRobust from obp.ope.estimators_continuous import KernelizedInverseProbabilityWeighting from obp.ope.es...
4
4
0
[{"id": "G0", "claim": "The term 'interaction' should be dropped from the SNSIPS estimator's name wording: 'Self-Normalized Standard Inverse Propensity Scoring' is correct.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The SNSIPS docstring's 'slo...
null
st-tech__zr-obp__144
st-tech/zr-obp
144
defect
4ddf70b394dbb02c1f77ca89b13d97f1947f4f45
b0851b1e46e61ec6530f4cb232affcf9d0da132f
Feature Implement QLearner
## New Features - implement QLearner in the policy module, which first estimates the expected reward function (or the q function) from the logged bandit data, and then use that estimator to make new decisions on the test data (such as via argmax or softmax) - See example 1 of in Appendix A of https://arxiv.org/pdf/...
diff --git a/obp/__init__.py b/obp/__init__.py index 5ba63ea1..347aff29 100644 --- a/obp/__init__.py +++ b/obp/__init__.py @@ -1 +1,10 @@ -from .version import __version__ # noqa +from obp import dataset +from obp import ope +from obp import policy +from obp import simulator +from obp import types +from obp import uti...
8
2
0
[{"id": "G0", "claim": "The `tau` docstrings misspell 'the scores' as 'thescores' and should be corrected (the same typo appears in several places).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new sigmoid computes `np.exp(np.minimum(x, 0)) ...
null
stac-utils__pystac-client__126
stac-utils/pystac-client
126
defect
883316bdd27ce04e5c3666d6bb008390ee26584e
bb7d6d9aea1368eb75be9d9553bc8aa513e7bdc7
Propagate root StacAPIIO to ItemSearch in Client.get_items
**Related Issue(s):** - Closes #125 **Description:** Ensures that query string parameters and headers given in `Client.open` or `Client.from_file` are used in requests from `CollectionClient` instances fetched from that API. **PR Checklist:** - [x] Code is formatted - [x] Tests pass - [x] Changes are ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index aa49133a..84af4d73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed + +- Values from `parameters` and `headers` arguments to `Client.open` and `Cli...
1
1
0
[{"id": "G0", "claim": "The new code accesses the \"private\" `_stac_io` member of the object returned by `get_root()`, which feels like breaking abstraction and is flagged as a code smell that could be refactored down the line, with no changes required now.", "category": "design", "verdict": "supported", "priority": "...
null
stac-utils__pystac-client__174
stac-utils/pystac-client
174
defect
a12663a7213bc4c834793ab24e1e1d0b46cdf3d2
6860ea6afe05853b08fe98412a1d67bc9431c501
clarify type requirements for search intersects parameter, update some documentation
**Related Issue(s):** #146 **Description:** 1. For search intersects, tighten type definitions to require str, dict, or object with __geo_interface__ attribute. Other objects now fail. If a user wants to use another object, they have to str() it first. 2. add better documentation about this. **PR Checkli...
diff --git a/CHANGELOG.md b/CHANGELOG.md index f6f5c59a..340b1852 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Bumped PySTAC dependency to >= 1.4.0 [#147](https://github.com/stac-utils/pystac-client/pull/147) - Search...
1
1
0
[{"id": "G0", "claim": "Add a code comment noting that runtime_checkable should be added (to the GeoInterface protocol) when Python 3.7 support is dropped.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stac-utils__pystac-client__184
stac-utils/pystac-client
184
defect
051907797ee157ae246eb65c06304e1f27f052d1
79a8e5f2b165a8949c0abdc8e4c534c682b1b4eb
fix search fields parameter typing and behavior
**Related Issue(s):** #171 **Description:** - fix `fields` typing - fix `fields` behavior for GET and POST **PR Checklist:** - [X] Code is formatted - [X] Tests pass - [X] Changes are added to the [CHANGELOG](https://github.com/stac-utils/pystac-api-client/blob/main/CHANGELOG.md)
diff --git a/CHANGELOG.md b/CHANGELOG.md index fbfc101b..65deba12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Vers...
4
2
0
[{"id": "G0", "claim": "The new CHANGELOG entry under Fixed lacks a link to this pull request, unlike the preceding sortby entry.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fields helpers should be renamed to say dict instead of json, sinc...
null
stac-utils__pystac-client__362
stac-utils/pystac-client
362
defect
e45c68dcc3a6e2f7c8bb6e94629540872ecaa3a3
b8f0b2779b75382fd515ac9849eaf0c88780094e
Fix `query` in GET requests
**Related Issue(s):** - Closes #355 **Description:** Fixes `query` in GET requests by stringifying the JSON dictionary. Note that (for the Planetary Computer at least) the query parameter _cannot_ be url encoded. @philvarner do you think this is a server bug? If so I can open it on stac-fastapi. **PR Chec...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e0af0dfd..7faa7647 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed +- `query` parameter in GET requests [#362](https://github.com/stac-utils/pystac-client/pull/36...
2
2
1
[{"id": "G0", "claim": "The `query` value sent in GET requests should be URL-encoded; it is a bug if stac-fastapi is not handling that correctly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `intersects` parameter should also be serialized wit...
null
stac-utils__pystac-client__373
stac-utils/pystac-client
373
defect
3f305e287ceb6ad966da278e5ee4abf4f79f1a04
705bb676fe89c7c89da3e271e54e1a36823fb63c
Ensure client self hrefs don't end in '/'
**Related Issue(s):** - Closes #369 **Description:** Our url construction is a bit naïve -- we use basic string formatting, e.g. https://github.com/stac-utils/pystac-client/blob/3f305e287ceb6ad966da278e5ee4abf4f79f1a04/pystac_client/client.py#L257 As raised in #369, this can lead to request urls containin...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b6f6362..cefbb610 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Some mishandled cases for datetime intervals [#363](https://github.com/stac-utils/pystac-clien...
2
2
1
[{"id": "G0", "claim": "Use url.rstrip(\"/\") instead of slicing url[0:-1] to strip the trailing slash in Client.open.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Stripping the trailing slash from the client self URL breaks APIs that require ...
null
stac-utils__pystac-client__413
stac-utils/pystac-client
413
defect
ab52af189562a81ee18ad31e298a5572aefbcdf5
ce3042621d634d146c08587775e0f06c6735bd1e
Release v0.6.0
Release notes: ``` Added: - Python 3.11 support [#347](https://github.com/stac-utils/pystac-client/pull/347) - `request_modifier` to `StacApiIO` to allow for additional authentication mechanisms (e.g. AWS SigV4) [#372](https://github.com/stac-utils/pystac-client/pull/372) - *Authentication* tutorial, demonstra...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ec683ce..b5e963fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versi...
1
1
0
[{"id": "G0", "claim": "There is a missing `item = ` assignment on the recursive branch of `CollectionClient.get_item` (code from #379), so the method returns None instead of the item when called with recursive=True.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
stac-utils__pystac-client__511
stac-utils/pystac-client
511
defect
809a714f6ad3b6acaf6ded280f58c080ed285614
4c98a2ee690f72528d6f69807ec0d51d0627a3c2
Aggregation of queryables across select collections
**Related Issue(s):** - #505 **Description:** **PR Checklist:** - [x] Code is formatted - [x] Tests pass - [x] Changes are added to the [CHANGELOG](https://github.com/stac-utils/pystac-api-client/blob/main/CHANGELOG.md)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 137e4dbf..cf41329c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,3 +33,4 @@ repos: - pytest-vcr - types-requests - types-python-dateutil + - orjson diff --git a/pystac_client/mixins...
6
5
2
[{"id": "G0", "claim": "Shadow get_queryables in the pystac_client.client.Client class to properly separate concerns, as mypy's complaints suggest, instead of the single mixin implementation.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Extend the get_...
null
stac-utils__pystac-client__782
stac-utils/pystac-client
782
defect
13d4385cb588c68272a43edd4cf8c282f5898d6e
11d894dd0b7ee41d21277e07c4856072e6573c97
Fix `Client.get_collection` for static catalogs
**Related Issue(s):** - Closes #780 **Description:** * add static catalog to test data (copied from pystac) * ensure that `Client.get_collection` returns specified collection * ensure that if no matching collection is found it raises **PR Checklist:** - [x] Code is formatted - [x] Tests pass - [x...
diff --git a/pystac_client/client.py b/pystac_client/client.py index e843a5a9..c381187c 100644 --- a/pystac_client/client.py +++ b/pystac_client/client.py @@ -394,7 +394,7 @@ def get_collection(self, collection_id: str) -> Union[Collection, CollectionClie Raises: NotFoundError if collection_id doe...
1
1
0
[{"id": "G0", "claim": "The pull request needs a CHANGELOG entry describing the fix.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stac-utils__pystac-client__804
stac-utils/pystac-client
804
defect
b81cbeee2e153fee6a897f3aedf3b3147867ca21
77fc3423d3d837312725b060bd9138686b81e210
Coerce cql2 style to match HTTP method
**Related Issue(s):** - Closes #803 **Description:** Coerced the `filter` value to cql2-json for POST and cql2-text for GET unless the user specifies the filter-lang. This uses [cql2-rs python bindings](https://developmentseed.org/cql2-rs/latest/python/) and adds `cql2` as a dev dependency, but it fail...
diff --git a/pyproject.toml b/pyproject.toml index 1533283c..5c1f79d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,8 @@ dev = [ "tomli~=2.0; python_version<'3.11'", "types-python-dateutil>=2.8.19,<2.10.0", "types-requests~=2.32.0", - "urllib3>=2.0,<2.3.0", # v2.3.0 b...
1
1
0
[{"id": "G0", "claim": "The coercion code in _format_filter can use the cql2 parse API (e.g. cql2.parse_text) instead of constructing Expr directly from json.dumps(value).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stac-utils__pystac-client__832
stac-utils/pystac-client
832
defect
56bbd9ac96b81565a558d460f9f34897fed1ecd9
6f443ba87a4c5ee7fda4487a0a7c2cca88eac92c
test: add ignore() context manager test coverage
**Related Issue(s):** - #590 **Description:** - Create dedicated tests/test_warnings.py file for warning context manager tests - Add comprehensive test coverage for ignore() and strict() context managers - Fix warnings.py docstring example to use imperfect-api.test for clarity - Fix collection_search.py to ...
diff --git a/tests/test_client.py b/tests/test_client.py index 9967a4a2..54add3ad 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -23,6 +23,7 @@ FallbackToPystac, MissingLink, NoConformsTo, + ignore, strict, ) @@ -444,6 +445,14 @@ def test_search_conformance_error(self, api: Cl...
2
2
1
[{"id": "G0", "claim": "The new get_collections/ignore() test blocks do not make sense as additions to the preexisting search API tests in tests/test_client.py and should instead live in their own class or separate tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
stac-utils__stac-server__1029
stac-utils/stac-server
1,029
defect
ce24e93cda3a623dc6515eb0a29cd18d4f08745b
04d74beacccef2d30556136d573f2d579703a578
Nsr/580/missing collection error
**Related Issue(s):** - #580 - #1026 **Proposed Changes:** 1. `isItem` throws an error if the `collection` field is not set. This logs a more helpful message than before, when this caused an OpenSearch error. 2. Updated Quick Links section of README to point to valid links. **PR Checklist:** - [x] ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index c99da2db..eec0a623 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - If an invalid sortby parameter is supplied, a 400 status is returned (instead of 500) with a helpful...
1
1
0
[{"id": "G0", "claim": "The thrown error message 'STAC Item must specify a collection' should be slightly more specific, e.g. \"All STAC Items must include a 'collection' field\", as that might be more helpful for a newbie.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stac-utils__stac-server__1037
stac-utils/stac-server
1,037
defect
6083c69bb356221abdb2ed12b1c8a8308f8e6fc0
710f6b3c15902ee22892f6874f554f8466ffbf86
Catalog and Collection Link titles
**Related Issue(s):** - #468 **Proposed Changes:** 1. Add link titles to dynamically generated links for Catalogs and Collections **PR Checklist:** - [x] I have added my changes to the [CHANGELOG](https://github.com/stac-utils/stac-server/blob/main/CHANGELOG.md) **or** a CHANGELOG entry is not requir...
diff --git a/CHANGELOG.md b/CHANGELOG.md index f299bfff..a9fff404 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Bbox queries outside of [-180, -90, 180, 90] return a 400 error - STAC Items passed to the ingest lamb...
6
6
0
[{"id": "G0", "claim": "The items link title should be 'Items' rather than 'Child Items', since items are always part of a collection and the 'Child' descriptor is unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The conformance link ...
null
stac-utils__stac-server__1038
stac-utils/stac-server
1,038
defect
e43481601a7cd8d389540ae60fb7c55e3be3ff23
a40c47a5961976d71faf4765c01703c18d07669e
Feat: Add hashing to indexes to allow handling upper case collections
### ⚠️ Breaking - This PR handles the issue that `stac-server` was not fully aligned with the STAC Spec in regards to collection names. - By adding a simple hash function, we generate fully unique, human readable, OpenSearch compatible index names now. This is accomplished by lowercasing the supplied name and th...
diff --git a/.nsprc b/.nsprc index 0dc56590..7c792134 100644 --- a/.nsprc +++ b/.nsprc @@ -4,9 +4,19 @@ "notes": "Only used in build steps, so DoS risk is irrelevant", "expiry": "2026-03-05" }, + "1113041": { + "active": true, + "notes": "webpack is only used in build steps, so D...
3
3
3
[{"id": "G0", "claim": "The `.only` marker on the 'Ingest collection failure is published to post-ingest SNS topic' test in tests/system/test-ingest.js must be removed before merging.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `buildFieldsFilter...
null
stac-utils__stac-server__1045
stac-utils/stac-server
1,045
defect
f2683c7bc6505859c1b9f9f2f76ece1a549dae6a
7b142c29729d59b19ea38692b4cca2a6f82c3817
Tr/fix/issue 512/malformed links
Fixes a bug where including either 'id' or 'collection' in the `excludes` field when using the fields extension would result in malformed links with `undefined` in them. This was because 'id' and 'collection' fields are used in link creation to correctly generate links to self href's or collection hrefs. But when excl...
diff --git a/.nsprc b/.nsprc index 731a01b6..8ab63022 100644 --- a/.nsprc +++ b/.nsprc @@ -9,14 +9,29 @@ "notes": "qs is used by express/webpack, low severity DoS risk acceptable", "expiry": "2026-03-12" }, - "1113214": { + "1113331": { "active": true, - "notes": "we do not ...
3
3
0
[{"id": "G0", "claim": "Remove the leftover commented-out debug statement (\"// console.log('DEBUG - parameters %j', parameters)\") that the pull request adds at the top of constructSearchParams in src/lib/database.js.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
stac-utils__stac-server__1046
stac-utils/stac-server
1,046
defect
280f1c14290cc12cd8f23e64afd775d8bb1ffba7
34170e45db77adc5824d2bf180afbb3c13ba1e2d
use opensearch 'sort' field for pagination
**Related Issue(s):** - #242 **Proposed Changes:** 1. Change implementation of `buildPaginationLinks` to use the `sort` object returned by OpenSearch **PR Checklist:** - [x] I have added my changes to the [CHANGELOG](https://github.com/stac-utils/stac-server/blob/main/CHANGELOG.md) **or** a CHANGELOG...
diff --git a/CHANGELOG.md b/CHANGELOG.md index bd515ebc..c587cb61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - `POST /collections/:collectionId/items` now accepts ItemCollections - The behavior when a `fields` par...
1
1
0
[{"id": "G0", "claim": "The commented-out development-artifact lines in buildPaginationLinks should be deleted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stac-utils__stac-server__1081
stac-utils/stac-server
1,081
defect
7ef2c13357f802bce51c32a65dedb4235ada42cd
03a2497e04b40961d6facf33c781ea8697f1fc25
Tr/drop 908/type api layer
This PR involves continuing the typescript migration for stac server. It types the large and significant `api.ts` file. It was an extremely large file and some minor utility functions were peeled out into `api-utils.ts`. New types were added and adjusted as required during this work. Note: A high severity issue ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e33ba96d..4217470c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed +- Typing the api layer in `api.ts`, pushing some minor functions to a new utility files `api...
3
2
0
[{"id": "G0", "claim": "The added `// @ts-nocheck` disables type checking for src/lambdas/api/app.js; the author notes this is temporary and is to be removed in the next PR.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "extractLimit returning `...
null
stac-utils__stac-server__194
stac-utils/stac-server
194
defect
2491dc7eb5fae723821f67fea9d509ae5373a40e
711e64de0f5d1b3ca4bf9f56d098139623a55c99
define routes for transaction endpoints
**Related Issue(s):** - #115 **Proposed Changes:** 1. replace invalid /collections/{collectionId}/items route with an unimplemented one 2. add delete and put routes **PR Checklist:** - [X] I have added my changes to the [CHANGELOG](https://github.com/stac-utils/stac-server/blob/main/CHANGELOG.md) **o...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 69fcb360..f089a0a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Removed +- Querying Items in a Collection by POST to /collections/:collectionId/items is + no longe...
4
3
2
[{"id": "G0", "claim": "In the new POST, PUT and DELETE transaction handlers the 404 next(createError(404)) call is not returned, so as written next is going to be called a second time (with the 501 error) when the transactions extension is disabled.", "category": "correctness", "verdict": "supported", "priority": "P1"...
null
stac-utils__stac-server__271
stac-utils/stac-server
271
defect
c7dd9bac0f3dde68ace86aef2348ae9d44377cb6
88e6988d320b9a0e224327521f252bfbbbffd352
Add pre- and post-hooks
This PR adds support for pre- and post-hook lambda functions. If configured, these have the ability to modify (and possibly short-circuit) the incoming request, and also modify the response from stac-server before it is sent to the client. The details of this change are documented in [README.md](https://github.com/s...
diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 00000000..0b995fca --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,3 @@ +"line-length": false +"no-duplicate-heading": + siblings_only: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 076b4fac..1832cab4 100644 --- a/CHANGELOG.md +++ b/C...
4
2
0
[{"id": "G0", "claim": "Add an example of what the value the PRE_HOOK and POST_HOOK environment variables are set to looks like, since it is unclear from the text what the 'name' of the lambda is.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add...
null
stac-utils__stac-server__485
stac-utils/stac-server
485
defect
ccf09e7928118df5f667cd179934a460e7316f75
3b0ae0b66521a32a3410d91aa703000b9d4ff9e7
Remove node streams-based ingest code to prepare for post-ingest notifications
**Related Issue(s):** - #45 **Proposed Changes:** 1. Remove logic from `ingestItem` and have it call `ingestItems` with a single-item list. 2. Remove node streams-based ingest by extraction functionality into `lib/ingest.js` and calling it directly from `ingestItems` 3. Remove batch processing functionali...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 39db6172..6c68e4ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Vers...
1
1
0
[{"id": "G0", "claim": "ingestItem should be removed altogether so only ingestItems remains, perhaps with a vararg parameter.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stac-utils__stac-server__494
stac-utils/stac-server
494
defect
859d2804a80c0ec00d4c974c2851152ee3b13a9c
1a6f6128943c91c4ee944b6929db19a57ab0a519
Publish ingest results to a post-ingest SNS topic
**Related Issue(s):** - #45 **Proposed Changes:** 1. Add post-ingest SNS topic provisioning to serverless.example.yml 2. Publish ingest results to the post-ingest SNS topic 3. Add post-ingest documentation to the README I could not have completed the changes in this PR as quickly I did without the guid...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d94eea6..15b726d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] - TBD +### Added + +- Publish ingest results to a post-ingest SNS topic + ### Changed ...
5
5
2
[{"id": "G0", "claim": "The comment in logIngestItemsResults should read 'log it as info and not error' rather than the typo 'invo'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment above the awaited loop should say 'in sequence' rather ...
null
stac-utils__stac-server__509
stac-utils/stac-server
509
defect
73378fbae7022331d78d870c3f2402dc9ec2d02e
5419d1f7ba10744045e47a29c50a672dee2748e8
Add datetime and bbox attributes to post-ingest SNS messages
**Related Issue(s):** - #45 **Proposed Changes:** 1. Add `datetime`, `start_datetime`, and `end_datetime` string attributes to post-ingest SNS messages 2. Add `start_unix_epoch_ms_offset` and `end_unix_epoch_ms_offset`number attributes to post-ingest SNS messages 3. Add `bbox.ll_lon`, `bbox.ll_lat`, `bbo...
diff --git a/src/lib/ingest.js b/src/lib/ingest.js index b9aa84b8..aa789eb2 100644 --- a/src/lib/ingest.js +++ b/src/lib/ingest.js @@ -187,11 +187,11 @@ function updateLinksWithinRecord(record) { return record } -export async function publishResultsToSns(results, topicArn) { - results.forEach((result) => { +expo...
3
3
0
[{"id": "G0", "claim": "Add a changelog entry for the pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the bbox attribute prefixes from ll_/ur_ to sw_/ne_, using cardinal directions as a GeoJSON bbox is defined that way.", "cate...
null
stac-utils__stac-server__556
stac-utils/stac-server
556
defect
6877c29560fef8dc7390216110d999e436c2e36a
51458cb44309ede05fe361776e6d09d1b5ca2240
Remove vestiages of geojsonhint
**Related Issue(s):** - Closes #549 - Closes #356 **Proposed Changes:** 1. Removes geojsonhint from package file 2. Simplifies error detection 3. Throws a validation error (instead of returning a structure) **PR Checklist:** - [x] I have added my changes to the [CHANGELOG](https://github.com/stac-ut...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 672ea4bf..4604da57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Vers...
1
1
1
[{"id": "G0", "claim": "The new changelog entry should also document that when an OpenSearch request returns a 400 status code, stac-server now uses that status code with a meaningful error message in the response instead of always returning a 500 error.", "category": "documentation", "verdict": "supported", "priority"...
null
stac-utils__stac-server__889
stac-utils/stac-server
889
defect
338155681e7d96d33294eb18fca7ff6d84b70fbf
425b090af2c76b5b033a44fb7dcfbc1b7ac59a1b
disable thumbnail by default
**Related Issue(s):** - https://github.com/stac-utils/stac-server/issues/872 **Proposed Changes:** 1. disable thumbnail behavior by default. It is an unexpected behavior in most cases to have any asset suddenly become accessible because the permissions stac-server to be right. **PR Checklist:** - [X] ...
diff --git a/README.md b/README.md index 963ae013..cb9b0998 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ - [Architecture](#architecture) - [Migration](#migration) - [Warnings](#warnings) + - [4.1.0](#410) + - [Thumbnails feature disabled by default](#thumbnails-feature-disabled-by-default) ...
1
1
1
[{"id": "G0", "claim": "The ENABLE_THUMBNAILS condition in getItemThumbnail is inverted, so thumbnails are served when the flag is not set to 'true' and a NotFoundError is returned when it is — the opposite of the documented disable-by-default behavior.", "category": "correctness", "verdict": "supported", "priority": "...
null
stac-utils__stac-server__942
stac-utils/stac-server
942
defect
6b9fc1fa3557eebf4fdbf29896a47de56574d9b9
1b3b2643e5bfccd19ec8fe947f663e758d2c908c
add ITEMS_MAX_LIMIT configuration to override hard-coded default of 10000
**Related Issue(s):** - https://github.com/stac-utils/stac-server/issues/226 **Proposed Changes:** 1. add ITEMS_MAX_LIMIT configuration to override hard-coded default of 10000. This will allow a deployment to configure the max value relative to how large their Items are, to prevent returning too many items,...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e752df3..ca247509 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. `ENABLE_RESPONSE_COMPRESSION` to `false`. If using post-hooks, you must update to hooks to handle compr...
3
1
1
[{"id": "G0", "claim": "ITEMS_MAX_LIMIT is used without validation: if it is set to an invalid (e.g. non-numeric) value, Number(...) yields NaN and Math.min returns NaN for the limit, so validate the env var (parse with a fallback or throw) before using it.", "category": "correctness", "verdict": "supported", "priority...
null
stack-of-tasks__pinocchio__110
stack-of-tasks/pinocchio
110
defect
f56121237a08dc93f2ac82596c59cdee63381a4f
f9bdd9c9a0557d4a97910dd22bb3ad10ea79c687
Topic/parse ros path
Fixed a bug in Geometry parser when parsing twice the urdf tree not in a row. Added a function to retrieve the list of package directories from the environment variable ROS_PACKAGE_PATH. The idea is when searching for mesh, replace package:// by one of this path. If no one is found, we try to open a file that doesn't...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 52d36559fc..aa6286a8b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,6 +86,7 @@ SET(${PROJECT_NAME}_MATH_HEADERS SET(${PROJECT_NAME}_TOOLS_HEADERS tools/timer.hpp tools/string-generator.hpp + tools/file-explorer.hpp ) SET(${PROJECT_NAME}_SPATIAL...
5
5
3
[{"id": "G0", "claim": "The method name fromURDFMeshPathToAbsolutePathPack is too long and not explicit and should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When ROS_PACKAGE_PATH is empty there is no real check: an empty absolut...
null
stack-of-tasks__pinocchio__1102
stack-of-tasks/pinocchio
1,102
defect
edf6529e8c88c87a7cdb39c85fe57f8811351f6e
a7476cd937eb60aae070ce89dc1c5eb8585dce84
Fix URDF passing
In this PR, I have removed the adding of joints when no root joint is provided. It only appends the inertia of the fixed body to the universe. Fix #1101.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fbb0f5d3f..c4445b555b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,12 @@ IF(BUILD_WITH_URDF_SUPPORT) LIST(APPEND CFLAGS_DEPENDENCIES "-DPINOCCHIO_WITH_URDFDOM") ENDIF(BUILD_WITH_URDF_SUPPORT) +IF(${URDFDOM_VERSION} VERSION_GREATER "0.4.2") + ...
7
6
3
[{"id": "G0", "claim": "Asks which platforms still ship urdfdom < 1.0, probing how widely the new unconditional CMAKE_CXX_STANDARD 11 bump (whenever urdfdom > 0.4.2) changes Pinocchio's default C++ standard.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": ...
null
stack-of-tasks__pinocchio__1182
stack-of-tasks/pinocchio
1,182
defect
336cf3bfc1e48c5eab0f65a34009a4a7b52cb847
805c8930e5d7f3286799301b33b44d1b83e0043c
Add helper for checking Quaternions
@jmirabel @wxmerkt Related to #1181, I've added some helpers to check whether the quaternions are normalized. In the Lie groups operations, I've set the default value to 1e-8. I would like to go a bit further and let the final user choose these values by himself/herself thanks to global variables which would be regi...
diff --git a/package.xml b/package.xml index 4c69126d31..2ce2988b61 100644 --- a/package.xml +++ b/package.xml @@ -1,7 +1,7 @@ <?xml version="1.0"?> <package format="3"> <name>pinocchio</name> - <version>2.4.2</version> + <version>2.4.3</version> <description>A fast and flexible implementation of Rigid Body D...
2
2
0
[{"id": "G0", "claim": "Add an explicit test case against Vector4d::Zero() to the new isNormalized tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Let the final user choose the tolerance values used for unit-norm checks (via globals registered in ...
null
stack-of-tasks__pinocchio__1324
stack-of-tasks/pinocchio
1,324
defect
17c479e2fe91905122713643f489feb8ddf135a3
eae7000a4aaa4cd398f5d29cb1d203fa8459b139
Add isNormalized
Closes #1316. I have implemented `isNormalized` for lie groups and for the joint configuration, with bindings. I have very limited time, so I think I will let the bounds checks go for the time being. The normalization check has much more value and it is much more difficult to implement for an inexpert user, so I ...
diff --git a/bindings/python/algorithm/expose-joints.cpp b/bindings/python/algorithm/expose-joints.cpp index 9d72c12ac4..b84f169122 100644 --- a/bindings/python/algorithm/expose-joints.cpp +++ b/bindings/python/algorithm/expose-joints.cpp @@ -10,6 +10,8 @@ namespace pinocchio namespace python { + BOOST_PYTHO...
5
4
2
[{"id": "G0", "claim": "The new isNormalized declarations and definitions should take the precision argument by const reference (const Scalar&) instead of by value, following the Eigen convention and supporting Scalar types such as autodiff.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in...
null
stack-of-tasks__pinocchio__1350
stack-of-tasks/pinocchio
1,350
defect
4dcea71b112fcceff43326c824353bcf5f05038a
a448f17419c572a6fcb3300d340b228efa4c4797
Improve support for rpy
This PR improves support for RPY by adding the following three functions: - `rpyToJac`: Computes the Jacobian of the Roll-Pitch-Yaw conversion given the RPY angles, in reference frame either `LOCAL` or `WORLD`, defauting to `LOCAL`, plus `LOCAL_WORLD_ALIGNED` which is equivalent to `WORLD` - `rpyToJacInv`: the invers...
diff --git a/bindings/python/math/expose-rpy.cpp b/bindings/python/math/expose-rpy.cpp index 283b2d4b6a..b4980b7cb3 100644 --- a/bindings/python/math/expose-rpy.cpp +++ b/bindings/python/math/expose-rpy.cpp @@ -24,6 +24,10 @@ namespace pinocchio return pinocchio::rpy::matrixToRpy(R); } + BOOST_PYTHON_F...
8
7
0
[{"id": "G0", "claim": "The scalar rpyToMatrix should take its scalar parameters by const reference instead of by value.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The redundant inline keyword on rpyToMatrix should be removed, since the function is a...
null
stack-of-tasks__pinocchio__1409
stack-of-tasks/pinocchio
1,409
defect
4dc051927ccb71820a6569ba30c7368813c02f1d
a36dc162e3b47a6da6edb124ea59384d07e9ad68
Enhance overall serialization + extend Geometry API
This PR allows serializing data to binary containers in Python.
diff --git a/bindings/python/module.cpp b/bindings/python/module.cpp index dde50ef20d..6941127792 100644 --- a/bindings/python/module.cpp +++ b/bindings/python/module.cpp @@ -12,6 +12,7 @@ #include "pinocchio/bindings/python/utils/registration.hpp" #include "pinocchio/bindings/python/utils/std-vector.hpp" +#include...
1
1
1
[{"id": "G0", "claim": "The keyword argument added for saveToString in the Python bindings is misspelled \"seld\" and should be \"self\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stack-of-tasks__pinocchio__1519
stack-of-tasks/pinocchio
1,519
defect
1ca9c789bee30f506d7647f5bb940341e8dde7ee
f326fc1134eae5bbaa174f760d5ae8f054df9a4c
[python] Add pybind11 header.
Follows discussion https://github.com/stack-of-tasks/pinocchio/discussions/1518 I think the minimum C++ standard of my solution is 14. Not sure it works with 11. @wxmerkt I would be happy to see your solution.
diff --git a/bindings/python/pybind11.hpp b/bindings/python/pybind11.hpp new file mode 100644 index 0000000000..dd0e77a714 --- /dev/null +++ b/bindings/python/pybind11.hpp @@ -0,0 +1,109 @@ +#include <pybind11/pybind11.h> + +#include <pinocchio/multibody/model.hpp> + +namespace pinocchio { +namespace cpp2pybind11 { +na...
13
11
4
[{"id": "G0", "claim": "The header should use a `python` namespace instead of `cpp2pybind11`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `auto` return type on `to(T* t)` should be removed in favour of the standard C++98 rule.", "category": "desig...
null
stack-of-tasks__pinocchio__1570
stack-of-tasks/pinocchio
1,570
defect
de79cffa869c4677223f92fe9ae96c6aa4eed3f5
d2b9a5a2b7f2567c25c2d20e0f08005af7359d17
Introduce ModelItem as parent of Frame and GeometryObject
This PR follows from the discussion on https://github.com/stack-of-tasks/pinocchio/issues/1492. It introduces the parent `ModelItem` for Frame and `GeometryObject` classes, with `parentJoint`, `parentFrame`, `placement` and `name` as its elements It proposes the following API changes: 1) `frame.parent` ...
diff --git a/bindings/python/multibody/frame.hpp b/bindings/python/multibody/frame.hpp index 4f5edeb1a8..f796948762 100644 --- a/bindings/python/multibody/frame.hpp +++ b/bindings/python/multibody/frame.hpp @@ -37,8 +37,8 @@ namespace pinocchio .def(bp::init<const Frame &>((bp::arg("self"),bp::arg("clone")),"C...
5
4
2
[{"id": "G0", "claim": "The pull request breaks the Frame API (Frame::parent, Frame::previousFrame) without maintaining backward compatibility; the reviewers ask to carefully allow backward compatibility, keep parent for the joint parent id, and make only the minimal modifications needed to not break the API.", "catego...
null
stack-of-tasks__pinocchio__1588
stack-of-tasks/pinocchio
1,588
defect
16ec0204aeac82be69ae368321f0b864429f6ad6
216a847a308abf05a935add3aac4df84593a0336
[multibody/geometry] Add method to remove an object.
Add a test to check object removal and correct collision pair handling. This partially fixes https://github.com/stack-of-tasks/pinocchio/issues/1587 by not requiring the user to manipulate GeometryObject instances by himself.
diff --git a/src/multibody/geometry.hpp b/src/multibody/geometry.hpp index 1acf1e0b7c..33e3f68d3a 100644 --- a/src/multibody/geometry.hpp +++ b/src/multibody/geometry.hpp @@ -65,6 +65,15 @@ namespace pinocchio */ GeomIndex addGeometryObject(const GeometryObject & object); + /** + * @brief Remove...
1
1
0
[{"id": "G0", "claim": "The added code should be reformatted (indentation/spacing) to match the project style.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stack-of-tasks__pinocchio__1652
stack-of-tasks/pinocchio
1,652
defect
5daf5de1c158363e835d322435bab4aa2f9b9b0b
bc9a19dc6e61d05febe4f1886c67749150f45a92
Fix integrate method for SO2
When the same vector reference is given to the integrate method as both for input and for storing the output, the result is incorrectly calculated due to inplace changes. This problem is fixed in this commit. Close #1651
diff --git a/src/multibody/liegroup/special-orthogonal.hpp b/src/multibody/liegroup/special-orthogonal.hpp index b0adeaf97a..aef889581d 100644 --- a/src/multibody/liegroup/special-orthogonal.hpp +++ b/src/multibody/liegroup/special-orthogonal.hpp @@ -17,7 +17,7 @@ namespace pinocchio template<int Dim, typename Scala...
2
1
0
[{"id": "G0", "claim": "Using the same vector as both input and output argument of integrate seems a bit weird to the reviewer at first glance.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The reviewer asks the author to remove the whitespace-related...
null
stack-of-tasks__pinocchio__1702
stack-of-tasks/pinocchio
1,702
defect
e836f352ba80dd182d60a5b99a88e59e65060a79
3586f8e33e012b19812e7384d0bcfb9597e0cc14
SO3 diff impl use quaternion instead of rotation matrix
It seems that using quaternion multiplication (`q0.conjugate()*q1`) then converting to matrix is actually more accurate than using matrix multiplication (`q0.matrix().transpose()*q1.matrix()`) in calculating the difference between `q1` and `q0`. When two SO3 configurations are very similar, with coordinates differi...
diff --git a/src/multibody/liegroup/special-orthogonal.hpp b/src/multibody/liegroup/special-orthogonal.hpp index 284b5548a8..150e3c397f 100644 --- a/src/multibody/liegroup/special-orthogonal.hpp +++ b/src/multibody/liegroup/special-orthogonal.hpp @@ -383,7 +383,7 @@ namespace pinocchio assert(quaternion::isNorma...
3
3
1
[{"id": "G0", "claim": "The numerical issues come from the log implementation itself rather than from the matrix multiplications, so the PR should wait for the Pinocchio-3x release, which already contains the improved fix, instead of being merged.", "category": "correctness", "verdict": "supported", "priority": "P1", "...
null
stack-of-tasks__pinocchio__1742
stack-of-tasks/pinocchio
1,742
defect
766c5d401437e5831d57d9adbd792c23ee5ea028
db1f4e3941db29a4518896fbfae2702f07f04391
Fix relative path in urdf
Currently, we cannot import a urdf that specifies a relative mesh path without using `//package`, see https://github.com/stack-of-tasks/pinocchio/issues/1741.
diff --git a/src/parsers/utils.hpp b/src/parsers/utils.hpp index c88f32ff5b..f662b69106 100644 --- a/src/parsers/utils.hpp +++ b/src/parsers/utils.hpp @@ -99,6 +99,18 @@ namespace pinocchio throw std::invalid_argument(exception_message); } } + else if (string.substr(0,2).compare("./") == 0) + ...
3
2
2
[{"id": "G0", "claim": "The new check for relative mesh paths is not robust depending on the OS; use Boost.Filesystem for it instead of manual string handling.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test of the relative-path fix.", "ca...
null
stack-of-tasks__pinocchio__1756
stack-of-tasks/pinocchio
1,756
defect
f7a15123be34bd3ec4201c0785f3f881ff88b97b
1e65684ef1e1839891d731738755a74f356eaf99
Configuration limits for joints and model
- every joint returns a vector of boolean of size nq describing if each of the DOF has bounds or not - model: vector stacking the boolean vector of configurations limits of each joint in the model now we can do: ``` In [1]: import pinocchio as pin ...: model = pin.Model() ...: model.addJoint(0, pin.JointM...
diff --git a/bindings/python/multibody/joint/joint-derived.hpp b/bindings/python/multibody/joint/joint-derived.hpp index af58dfd381..cd44b22935 100644 --- a/bindings/python/multibody/joint/joint-derived.hpp +++ b/bindings/python/multibody/joint/joint-derived.hpp @@ -33,6 +33,8 @@ namespace pinocchio .add_prope...
7
6
0
[{"id": "G0", "claim": "The new Python property in joint-derived.hpp should be named \"has_configuration_limit\" instead of \"configuration_limit\" so that the API names match.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since joints can have partial ...
null
stack-of-tasks__pinocchio__1775
stack-of-tasks/pinocchio
1,775
defect
1127321ea77e99876eb3cb8293847f785f41880d
d94de14421f6118710bce9e95ab574447fb596af
Error when integrating SE3 with the same vector given as input and output
I don't think it would impede performance much since quaternions are fixed-size but you probably know better than me.
diff --git a/src/multibody/liegroup/special-euclidean.hpp b/src/multibody/liegroup/special-euclidean.hpp index 94552a906e..dd3100ad15 100644 --- a/src/multibody/liegroup/special-euclidean.hpp +++ b/src/multibody/liegroup/special-euclidean.hpp @@ -592,7 +592,7 @@ namespace pinocchio const...
1
1
1
[{"id": "G0", "claim": "Add a unit test that reproduces the error when integrating SE3 with the same vector given as input and output (a random repeated configuration test was proposed as generic).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stack-of-tasks__pinocchio__1796
stack-of-tasks/pinocchio
1,796
defect
aed7f868eb082361498cf9f7faa70ad21de48aa5
a11bfb7fe10948fd4fb0137008ff85732bc1be26
Add helper functions for computing supported inertia and force by frames
Hello, Following my discussion with @jcarpent, I propose the implementation of 3 new helper functions that compute supported inertia and force by frames. Motivation : In our current robot setup, we have a force-torque sensor mounted in the arm. We would like to compute the forces that this sensor is supposed to m...
diff --git a/bindings/python/algorithm/expose-frames.cpp b/bindings/python/algorithm/expose-frames.cpp index f7e395a839..6c43aae85e 100644 --- a/bindings/python/algorithm/expose-frames.cpp +++ b/bindings/python/algorithm/expose-frames.cpp @@ -67,7 +67,7 @@ namespace pinocchio return get_frame_jacobian_time_v...
7
7
2
[{"id": "G0", "claim": "The names of the new inertia helpers should be simplified and made more explicit — drop the InBody suffix (computeFrameSupportedInertia seems sufficient) and prefer a naming like computeInertiaSupportedByFrame.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
stack-of-tasks__pinocchio__2160
stack-of-tasks/pinocchio
2,160
defect
07e8b005fa87aea9ec31dbf1bd5610315bfc2654
7c72532c19dda5c7212dc3f5724ee1ee6c13619a
Fix Frames order in reducedModel
Fix for frames list order when building a reducedModel. Fix the problem in the geometryReduced Model mentioned in #2158 .
diff --git a/include/pinocchio/algorithm/model.hxx b/include/pinocchio/algorithm/model.hxx index 196974e155..4aa204a121 100644 --- a/include/pinocchio/algorithm/model.hxx +++ b/include/pinocchio/algorithm/model.hxx @@ -339,6 +339,8 @@ namespace pinocchio // Sort indexes std::sort(list_of_joints_to_lock.begin(...
2
2
0
[{"id": "G0", "claim": "The commented-out declaration of frame_it left in the hunk should be removed since it is no longer used there.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changelog should also be updated for this pull request.", "...
null
stack-of-tasks__pinocchio__2218
stack-of-tasks/pinocchio
2,218
defect
4d175e9f0af9c35a0988cddb0fa255a64d830a08
208991bdb827e41be380eae520c48a69c526934a
Modify model appending algorithm
This modification follows https://github.com/stack-of-tasks/pinocchio/discussions/2203. In the new version, when appending model B to model A on frame F, joints are copied in the following order - joints of model A up to the parent of F, - all the descendents of parent of F, - the remaining joints of A.
diff --git a/CHANGELOG.md b/CHANGELOG.md index d43b6f2d25..81b42df54a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] ### Changed +- Modify algorithm that appends a model to another. - Set NOMINMAX as a pu...
5
4
1
[{"id": "G0", "claim": "Use `model.supports[child]` to check whether `parent` is the supporting joint (ancestor) of `child`, rather than walking `model.parents` in a loop.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new joint-copy loops use the C+...
null
stack-of-tasks__pinocchio__2273
stack-of-tasks/pinocchio
2,273
defect
de0dcec50493846d9a5ed153eb9c2b7aaa69e8d0
30a9ad44107432e3dc1940e926d9333dc5da00cd
Test vector transport and its inverse with `dIntegrateTransport`
Hi, I propose adding another test for the `dIntegrateTransport` function to check its "inverse" by using the reverse path. I use this function for vector transport along different manifolds.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 708c6ff000..0623c5fe9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added - Python unittest for `contactInverseDynamics` function ([#2263](https://github.com/stack-of...
4
3
0
[{"id": "G0", "claim": "The test should also cover matrices, not just vectors: transporting a matrix (and its inverse) with `dIntegrateTransport` should still work the same.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `dIntegrateTransport` test s...
null
stack-of-tasks__pinocchio__2275
stack-of-tasks/pinocchio
2,275
defect
de0dcec50493846d9a5ed153eb9c2b7aaa69e8d0
c81f4beede216c78057ed075462489d60e9b2343
Add get operation counts for Casadi
Adds helper functions to get CasADi function's operation count.
diff --git a/include/pinocchio/autodiff/casadi-algo.hpp b/include/pinocchio/autodiff/casadi-algo.hpp index a4cb291ce4..e4ec2cfda0 100644 --- a/include/pinocchio/autodiff/casadi-algo.hpp +++ b/include/pinocchio/autodiff/casadi-algo.hpp @@ -76,9 +76,11 @@ namespace pinocchio buildMap(); // Generated cod...
4
4
2
[{"id": "G0", "claim": "The operation count member variables should use the casadi_int type instead of long, since CasADi stores ints as casadi_int (long long int), to avoid conversion issues.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "get_fun_o...
null
stack-of-tasks__pinocchio__2284
stack-of-tasks/pinocchio
2,284
defect
03976d2aac4a9bfd674f1869ebcc802bf05d3806
a569a9a998cf8b9723cba0226800b21670b80fe7
Some minor modifications necessary to upgrade HPP
I upgraded HPP with pinocchio-3 and had to make a few minor modifications in pinocchio. Could you consider them ? Thank you.
diff --git a/CHANGELOG.md b/CHANGELOG.md index cdc85d8fe8..7aa5380cb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,12 +8,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed +- JointModel -> Model::JointModel in algorithm/model.hxx for compilation disambiguation. +...
1
1
0
[{"id": "G0", "claim": "The new CHANGELOG.md entries are copy/pasted commit messages that are not helpful to end users and should be rewritten to describe what the PR fixes so users know whether it solves their issues, with a link to the PR for details.", "category": "documentation", "verdict": "supported", "priority":...
null
stack-of-tasks__pinocchio__2296
stack-of-tasks/pinocchio
2,296
defect
c06b018b56785c927ce8b7aa34f5d01de06e5181
b6f67fd88430533d843c5c8480ca6d3a12223e69
Different inertia parametrizations and Physical consistency
### Pseudo Inertia and Log Cholesky Parametrization This PR introduces the capability to use pseudo inertia and Log Cholesky parametrization within Pinocchio. These additions are based on recent advancements in ensuring the physical consistency of inertial parameters and provide a novel approach to parameterize the ...
diff --git a/cmake b/cmake index 2bea127e81..5275edfd1a 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 2bea127e8113a32f216ae7a7201e36a6e7c56cc2 +Subproject commit 5275edfd1a8c6d45e0f90177edad93ef15b2008f diff --git a/include/pinocchio/bindings/python/spatial/inertia.hpp b/include/pinocchio/bindings/pytho...
6
6
0
[{"id": "G0", "claim": "Dedicated types should be created to store the pseudo-inertia and log-Cholesky parametrizations, with dedicated constructors, getters for the matrix parameters (mass, h, sigma, H_bar) and the related methods, so that FromPseudoInertia / FromLogCholeskyParameters are not called with raw matrices....
null
stack-of-tasks__pinocchio__2403
stack-of-tasks/pinocchio
2,403
defect
70eebe87bcca2574f2e4481bab81fbcdcfbefd54
65819479d827eeb5657c5dc0fb018dd039955e5d
Parser/mjcf : Add warning and fix root joint of mjcf models
This pr aims at being a bit more flexible concerning textures in mjcf model that are not supported in pinocchio. It also fix a small bug that was introduced in https://github.com/stack-of-tasks/pinocchio/pull/2386.
diff --git a/src/parsers/mjcf/mjcf-graph.cpp b/src/parsers/mjcf/mjcf-graph.cpp index 623ccf3079..513ded68da 100644 --- a/src/parsers/mjcf/mjcf-graph.cpp +++ b/src/parsers/mjcf/mjcf-graph.cpp @@ -500,15 +500,29 @@ namespace pinocchio namespace fs = boost::filesystem; MjcfTexture text; auto fil...
2
2
1
[{"id": "G0", "claim": "Add a test to ensure the root-joint inertia bug will be caught in the future.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Dereferencing the optional type without checking it (else if (*type == \"skybox\")) is unsafe; it should...
null
stack-of-tasks__pinocchio__241
stack-of-tasks/pinocchio
241
defect
4c43a8378eb9937610c42b532ca34c5a10d5ba4d
515becced6813f2ff65489725eff526b708e7958
Add se3::normalized
Solves #239 and related to https://github.com/humanoid-path-planner/hpp-pinocchio/issues/14
diff --git a/src/algorithm/joint-configuration.hpp b/src/algorithm/joint-configuration.hpp index 113e54c322..5c9faad600 100644 --- a/src/algorithm/joint-configuration.hpp +++ b/src/algorithm/joint-configuration.hpp @@ -104,7 +104,15 @@ namespace se3 */ inline Eigen::VectorXd randomConfiguration(const Model & mod...
4
4
2
[{"id": "G0", "claim": "The se3::normalized function must work on the same vector q, taking it by non-const reference (Eigen::VectorXd &) instead of const Eigen::VectorXd &, rather than returning a new vector.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
stack-of-tasks__pinocchio__2413
stack-of-tasks/pinocchio
2,413
defect
52d1e7a5197109878292dc3625935c7b6ba32544
5c660133e46cf6efea0ba23211c3c1acc4e59477
Feature: Support for Parsing MJCF `equality/connect` Tag for Closed Chains
Hello Pinocchio Team, While working with the `buildModel` function, I noticed that when an SDF description is passed, it directly produces a vector of `RigidConstraintModel`s. However, the `mjcf` format, which also supports closed-chain descriptions, currently does not parse the `equality/connect` tag. To address...
diff --git a/include/pinocchio/parsers/mjcf.hpp b/include/pinocchio/parsers/mjcf.hpp index 303772561f..cb80988713 100644 --- a/include/pinocchio/parsers/mjcf.hpp +++ b/include/pinocchio/parsers/mjcf.hpp @@ -7,6 +7,9 @@ #include "pinocchio/multibody/model.hpp" #include "pinocchio/parsers/urdf.hpp" +#include "pinocch...
1
1
1
[{"id": "G0", "claim": "The current MJCF parsing is not deterministic according to the issue in the mjcf.cpp test, and the author should look into why.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
stack-of-tasks__pinocchio__2475
stack-of-tasks/pinocchio
2,475
defect
42306ed023b301aafef91e2e76cb070c5e9c3f7d
cd07d8b847e857f78fe599f7a281ef48754cd7f6
Add pinocchio_python_parser target
Close #2474 - [x] Create new target - [x] Move code in core section - [x] Deprecate bindings header - [x] Export symbol with dedicated config.hpp - [x] Use clear CMake variable name
diff --git a/CMakeLists.txt b/CMakeLists.txt index 093dd617ce..40100fe719 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,9 +134,8 @@ cmake_dependent_option( BUILD_PYTHON_BINDINGS_WITH_BOOST_MPFR_SUPPORT "Build the Python interface with Boost.Multiprecision MPFR support" OFF BUILD_PYTHON_INTERFACE OFF...
3
3
0
[{"id": "G0", "claim": "The block that borrows the libpinocchio_pywrap module serves no purpose and can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The Python 2 specific code in the python parser should be removed.", "category":...
null
stack-of-tasks__pinocchio__2477
stack-of-tasks/pinocchio
2,477
defect
57bd4520d2ac652b80fe54b3b70de999bb82f573
61a9ceca44b5e5455c7be3e247c26f94f757b487
Mjcf : Fix parsing of armature parameters
This pr aims at correcting parsing of armature parameter available in mjcf models. As of now, mjcf provided only one value per joint, but in pinocchio armature is based on the `model.nv`. In this pr, we modify how armature is parsed and use the pinocchio standard. Another aim of this pr is to add support for defa...
diff --git a/include/pinocchio/parsers/mjcf/mjcf-graph.hpp b/include/pinocchio/parsers/mjcf/mjcf-graph.hpp index ca2667f06f..7e4af8f564 100644 --- a/include/pinocchio/parsers/mjcf/mjcf-graph.hpp +++ b/include/pinocchio/parsers/mjcf/mjcf-graph.hpp @@ -135,7 +135,7 @@ namespace pinocchio Eigen::VectorXd damping;...
1
1
0
[{"id": "G1", "claim": "The typedef UrdfVisitor::Vector Vector added in RangeJoint::concatenate is never used and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stack-of-tasks__pinocchio__248
stack-of-tasks/pinocchio
248
defect
466188c10ce33a0439cff1e6ef730e46d8f356d7
7bb024463e8ec3f8eeca577b77af53b2a93d8bea
Topic/radius unittest
- Added unittest of radius algorithm and compared results to hpp-model - Fixed parsing of multiple collision objects attached to a single link, related to #232 - Fixed parsing of fixed joint when the child link has no inertial information
diff --git a/src/algorithm/geometry.hxx b/src/algorithm/geometry.hxx index c10a7081b5..46a5ec3a2d 100644 --- a/src/algorithm/geometry.hxx +++ b/src/algorithm/geometry.hxx @@ -116,7 +116,6 @@ namespace se3 geomData.radius.resize(model.joints.size(),0); BOOST_FOREACH(const GeometryObject & geom,geomModel.geomet...
3
2
1
[{"id": "G0", "claim": "The frame added in parseTree for a link with no inertia should be typed FIXED_JOINT rather than BODY, or keep info on both: a FIXED_JOINT frame named after the joint and a BODY frame named after the link.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"i...
null
stack-of-tasks__pinocchio__2537
stack-of-tasks/pinocchio
2,537
defect
a73c947521027ce2900540af91b862a4e2021866
f0d5a0e01192de07f2749fc29c4ae63b6f4d0235
Add support for vertex-based mesh definitions in MJCF
This PR adds support for parsing MJCF meshes that are defined directly with vertices in the XML, rather than only supporting external mesh files. This makes it possible to load https://github.com/google-deepmind/mujoco/blob/main/model/car/car.xml and https://github.com/google-deepmind/mujoco/tree/main/model/cube
diff --git a/include/pinocchio/parsers/mjcf/mjcf-graph.hpp b/include/pinocchio/parsers/mjcf/mjcf-graph.hpp index f694d33fe1..6ec4d5bb75 100644 --- a/include/pinocchio/parsers/mjcf/mjcf-graph.hpp +++ b/include/pinocchio/parsers/mjcf/mjcf-graph.hpp @@ -209,6 +209,8 @@ namespace pinocchio Eigen::Vector3d scale = ...
4
4
0
[{"id": "G0", "claim": "The plain `throw std::invalid_argument(\"Only meshes with files/vertices are supported\")` at line 603 should be replaced with the Pinocchio macro PINOCCHIO_THROW_PRETTY instead of a plain throw.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
stack-of-tasks__pinocchio__2548
stack-of-tasks/pinocchio
2,548
defect
033a56f7440d82ca5c94ff08ccad9114cffb7988
fb7c8988fbd4a2e8c3216cc37414854be467fd40
Mjcf Parser : Fix adding the sites frames
This PR addresses the issue with parsing sites in mjcf models, raised here https://github.com/stack-of-tasks/pinocchio/issues/2534. It also changes all the throw into pinocchio_pretty_throw.
diff --git a/src/parsers/mjcf/mjcf-graph.cpp b/src/parsers/mjcf/mjcf-graph.cpp index 9cc217fa43..29a0db79aa 100644 --- a/src/parsers/mjcf/mjcf-graph.cpp +++ b/src/parsers/mjcf/mjcf-graph.cpp @@ -59,13 +59,13 @@ namespace pinocchio else { if (filePath.extension().empty()) - throw ...
2
2
0
[{"id": "G0", "claim": "Since the returned frame id (previousFrameId) is not used afterwards, the code should avoid storing the result of addFrame and call urdfVisitor.model.addFrame without assigning it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null