targetType is called "dir", "file" and "rev" in DirectoryEntry and is
different from other target types. Change that to "directory", "content"
and "revision"
Add a nameInclude GraphQL level filter for directory entries.
Differential D8511
Change targettype in directory entry; add directory entry filter by name jayeshv on Sep 20 2022, 3:08 PM. Authored by
Details
targetType is called "dir", "file" and "rev" in DirectoryEntry and is Add a nameInclude GraphQL level filter for directory entries.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D8511 (id=30647)Rebasing onto ebc6e44534... Current branch diff-target is up to date. Changes applied before testcommit 6c44e17d09b79d9c4eaa95f1d2d91765cd60d36d Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Tue Sep 20 15:02:47 2022 +0200 Change targettype in directory entry; add directory entry filter by name Target type is called "dir", "file" and "rev" in directory entry it is different from other target types. Change that to "directory", "content" and "revision" Add a nameInclude GraphQL lavel filter for directory entries. See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/179/ for more details. Comment Actions Build is green Patch application report for D8511 (id=30650)Rebasing onto ebc6e44534... Current branch diff-target is up to date. Changes applied before testcommit 5d1c1d87589cf13f16667788c435a1d9f267523b Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Tue Sep 20 15:02:47 2022 +0200 Change targettype in directory entry; add directory entry filter by name Target type is called "dir", "file" and "rev" in directory entry it is different from other target types. Change that to "directory", "content" and "revision" Add a nameInclude GraphQL lavel filter for directory entries. See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/180/ for more details. Comment Actions Build is green Patch application report for D8511 (id=30652)Rebasing onto ebc6e44534... Current branch diff-target is up to date. Changes applied before testcommit e09a9cc59176300dc55d3ecaf1c6b41722e660e0 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Tue Sep 20 15:02:47 2022 +0200 Change targettype in directory entry; add directory entry filter by name Target type is called "dir", "file" and "rev" in directory entry it is different from other target types. Change that to "directory", "content" and "revision" Add a nameInclude GraphQL lavel filter for directory entries. See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/181/ for more details. Comment Actions Build is green Patch application report for D8511 (id=30660)Rebasing onto ebc6e44534... Current branch diff-target is up to date. Changes applied before testcommit e87848fc786e2fac2ea76a4a3209321afc346822 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Tue Sep 20 15:02:47 2022 +0200 Change value of targetType in DirectoryEntry; add filter by entry name targetType is called "dir", "file" and "rev" in DirectoryEntry and is different from other target types. Change that to "directory", "content" and "revision" Add a nameInclude GraphQL lavel filter for directory entries. See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/184/ for more details. Comment Actions Build is green Patch application report for D8511 (id=30661)Rebasing onto ebc6e44534... Current branch diff-target is up to date. Changes applied before testcommit c0fccbc38a60baddee3f5dd7d1293b210f585f1d Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Tue Sep 20 15:02:47 2022 +0200 Change value of targetType in DirectoryEntry; add filter by entry name targetType is called "dir", "file" and "rev" in DirectoryEntry and is different from other target types. Change that to "directory", "content" and "revision" Add a nameInclude GraphQL level filter for directory entries. See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/185/ for more details. Comment Actions Using .lower() on byte strings of unknown encoding is going to have surprising results. What is the intended use of making this case-insensitive? Comment Actions The intention is to have some kind of a search for contents. Do you think a case sensitive filter is good enough, or should we explicitly handle the error here? Comment Actions I also think search should be case insensitive here, this is quite a common practice.
Comment Actions Build is green Patch application report for D8511 (id=30667)Rebasing onto ad9602edd7... First, rewinding head to replay your work on top of it... Applying: Change value of targetType in DirectoryEntry; add filter by entry name Changes applied before testcommit afb80b1563e20b04f6ca087ac30f0292fc225d09 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Tue Sep 20 15:02:47 2022 +0200 Change value of targetType in DirectoryEntry; add filter by entry name targetType is called "dir", "file" and "rev" in DirectoryEntry and is different from other target types. Change that to "directory", "content" and "revision" Add a nameInclude GraphQL level filter for directory entries. See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/188/ for more details. Comment Actions Build is green Patch application report for D8511 (id=30669)Rebasing onto ad9602edd7... Current branch diff-target is up to date. Changes applied before testcommit d445ce72badc6b6ff51ecb94bf19c51764f25c27 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Tue Sep 20 15:02:47 2022 +0200 Change value of targetType in DirectoryEntry; add filter by entry name targetType is called "dir", "file" and "rev" in DirectoryEntry and is different from other target types. Change that to "directory", "content" and "revision" Add a nameInclude GraphQL level filter for directory entries. See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/189/ for more details. |