abderrahim opened a new issue, #1682:
URL: https://github.com/apache/buildstream/issues/1682

   Here is what a `~/.cache/buildstream` directory currently looks like. 
   ```
   actioncache/
   artifacts/
   assets/
   cas/
   casserver-x864eg_i.sock=
   elementsources/
   logs/
   source_protos/
   sources/
   tmp/
   ```
   
   There are mainly two problems with this:
   - `artifacts/refs/`, `elementsources/` and `source_protos/` are used for 
storing "protos" that can be pushed to asset cache.
   - `artifacts/` is also used by bst1 with a different layout (which luckily 
doesn't use `artifacts/refs/`)
   
   I would suggest to instead store them in the asset cache of buildbox-casd 
(which uses the `assets/` directory).
   
   However there is something special about the artifact protos (other than the 
fact they are stored in a non-toplevel directory): they are stored as 
`project/element-name/key` and this is reflected in the UI (the `bst artifact` 
commands). Which is something that needs to be discussed. Do we really need all 
these? Can we somehow get the same UI?
   
   (source_protos are also currently stored as `plugin/key`, but that doesn't 
matter as they aren't exposed in the UI)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to