proud-dentist-22844
12/05/2022, 6:16 AM./pants export --resolve=...
only deleted the virtualenv(s) for the selected resolves, but it looks like every call deletes the entire dist/export
tree.
I made https://github.com/pantsbuild/pants/pull/17711 to narrow what it deleted from resolve to resolve+python version only to realize I was way off base. (It delete all exports every time, not just the selected resolves)
Would you be opposed to progressive exports? Export one resolve and then another without deleting the first?proud-dentist-22844
12/05/2022, 6:18 AMenough-analyst-54434
12/05/2022, 6:44 AM--force
to the Pex venv
tool here: https://github.com/pantsbuild/pants/blob/11bca3f57eddc82e773e8aef627f7a7442b8692d/src/python/pants/backend/python/goals/export.py#L188-L198
That would only delete a re-export which sounds like what you want and seems sane to me.happy-kitchen-89482
12/05/2022, 7:03 AM--force
) seem fine to me. The original deletion was probably too aggressiveproud-dentist-22844
12/05/2022, 1:42 PM--force
)
Or should the core goal selectively delete before regenerating?happy-kitchen-89482
12/06/2022, 3:20 AMhappy-kitchen-89482
12/06/2022, 3:20 AMproud-dentist-22844
12/06/2022, 3:44 AM