Use sha256 hash of extra coordinates for cache dir name, pepify#62
Use sha256 hash of extra coordinates for cache dir name, pepify#62
Conversation
|
Can you push without formatting changes? That will make it easier to review the actual changes. |
|
I'm a fan of the pepification. I agree with @hanslovsky that doing it as a separate commit would be best. Here is how I typically tease such things apart using git: Alternately, @kephale, if you don't have time... just tell us the command to do the pepification? Then I can do the above process myself. |
|
Okey doke, @hanslovsky @ctrueden all done. @ctrueden thank you for the commands! That was super useful |
|
FWIW, the pepify is with https://github.com/google/yapf which is attached to the python mode in my emacs |
|
Thanks @kephale |
|
Sure, no rush. It is just 4 lines, but I'm pip installing the branch now anyway, so this doesn't block me anymore. |
|
Can you share an example path in the ~/.jgo/${groupId}/${artifactId}/${version}/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855Is that correct? As a user, can I see what the coordinate is for a workspace/hash? I think it would make sense to add a file to the workspace that shows |
|
This solved my use case, and I was able to move on to the work it blocked. Saving the coordinate to file makes sense, will put it on the TODO. |
ff4e216 to
4abdcc7
Compare
|
@hanslovsky okey doke. I adjusted the path and added the coordinates file as well: |
hanslovsky
left a comment
There was a problem hiding this comment.
Looks good to me, will leave it to @ctrueden to merge it.
|
bump |
1 similar comment
|
bump |
Workspace dir is now ~/.jgo/${groupId}/${artifactId}/${version}/hash
Coordinates are written into workspace as coordinates.txt
|
@ctrueden now that this is merged, do you think you can mint a new release to PyPI? |
@cthoyt I pushed jgo 1.0.2 to PyPI. Please let me know how it works for you! |
To address #31 (comment)