Extra check for object type while returing directory and snapshot
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Aug 11 2022
bug fix
Aug 10 2022
doc string update
schema updates
Add functional tests
Aug 9 2022
Aug 8 2022
Aug 4 2022
Jul 6 2022
Not relevant anymore
In D8077#210155, @vlorentz wrote:Oh wait I get it. Doing a connection with n nodes costs c*n (for a constant c you implicitly decided to be 1), then fetching each of these nodes also costs n, so it's c*n+n.
Yeah that makes sense to me.
But there is also a per-node cost of 1, so that's the incensentive, right?
In D8077#210132, @vlorentz wrote:In D8077#210074, @jayeshv wrote:An issue I have is with calculating cost for connections. As of now, I have hard coded that to 2 for every connection. But I don't really like this.
Why?
Jul 5 2022
In D8077#210071, @vlorentz wrote:These @cost directives will be ignored by parsers that don't support it, right?
doc updates
Commit message updates
Jul 4 2022
functional tests
Remove multiplier for connections; set complexity to 2
cost for nodes
Jul 1 2022
Address review comments
Add type annotation on _get_paged_result functions
Jun 30 2022
Jun 29 2022
swhid search for contnet
release search with swhid
Swhid search for revision
Jun 28 2022
doc strings update
basic control flow and docs
Jun 24 2022
Jun 23 2022
basic working version
Jun 22 2022
Jun 20 2022
This change is not required
Jun 17 2022
Add utility function for building param string
Jun 16 2022
In D7994#207820, @ardumont wrote:"if you say so" ;)
Jun 15 2022
Adressing some review comments
rebase
adress review comments
rebase
building query params from a dict
Jun 14 2022
In D7980#207558, @douardda wrote:In D7980#207469, @anlambert wrote:In D7980#207468, @jayeshv wrote:In D7980#207464, @vlorentz wrote:Why should this be implemented by the API (as opposed to UIs)?
This is part of our current REST APIs.
which is not a good enough argument to keep it. Let's not reproduce (potential) mistakes, if we can.
I think it makes sense to return
data with or without a slash in both UI and API.I also agree, extra trailing slash or missing trailing slash in origin URL is a common source of errors when searching for an origin,
better handle that case API side.I disagree; one expect the API to behave as dumb/simple as possible: you ask for an origin URL, the API should return data on that very specific URL only. Imagine we do have stored both versions of the origin URL (for historical reasons), with and without a trailing /, we want the API to allow the user query one or the other.
If need be, provide an dedicated API endpoint to search for known similar origins, but make it a dedicated one, not part of the main get_origin endpoint.
As @vlorentz suggested, this "smart" behavior is indeed an UI concern, not an API one.