Comments (4)
This was discussed in the PR that changed it. As you can see, the original proposed string was SuRe
which I opposed. I am personally also simply for [y/N]
(the capitalizad N
is just to show that that is the default I believe). We compromised and settled on yes/N
as @khsrali @GeigerJ2 and @giovannipizzi thought it dangerous to keep just y
.
from aiida-core.
So the idea here was that deleting a computer doesn't only delete the isolated computer. To keep provenance, it also deletes all the connected nodes, so all processes of a user that were run on this computer. So it's an operation that should only be done with great care. Personally, I'd also be fine with [y/N]
as that is usually the standard. The fear was that people just quickly pressing through things might accidentally run the operation somewhat unintentional, though, that should be captured with [y/N]
. Don't really have a strong opinion on the topic, for me either is fine. Ideally, as always, I'd vouch for consistency.
from aiida-core.
I'm ok with the original suggestion and generally keeping a consistent style across verdi commands, as long as the default stays N
from aiida-core.
We thought perhaps using a different response than the usual "y" would make sense to prevent accidental data loss.
As @sphuber said, we compromised to "yes". But if @agoscinski thinks that is confusing regarding standardization, one could replace with "please type: 'confirm deletion' ", like when github asks you when deleting your repo.
This way remain both safe and standard.
from aiida-core.
Related Issues (20)
- Implement _repr_html_ representation for base orm types HOT 2
- Docs: Improve search functionality HOT 2
- CLI: `repository` option missing for `verdi profile setup core.psql_dos`? HOT 1
- calcjob test failure with sqlite backend HOT 4
- Prevent regressions in import time
- `WorkChain` defined in `__main__` produce `ImportError` not allowing to save checkpoints and is not outputed properly in a verdi shell HOT 1
- `verdi process` does not return anything HOT 1
- User unfriendly behavior of attributes.all when stored HOT 1
- `verdi node graph generate` error for missing PK is not correctly handled and help page is wrong HOT 1
- Docs: Moving GitHub Wiki content to readthedocs page
- Don't raise exception for successful `verdi archive import -n` HOT 2
- `(sqlite3.OperationalError) too many SQL variables` exception HOT 1
- PortNamespace supports `serializer`
- Identify minimal set of required dependencies, possibly moving e.g. PSQL ones to optional ones HOT 2
- CLI: Make output file for `verdi <subcommend(s)> export` optional
- CLI: `verdi computer relabel` can be relabelled to label that is parsed away in other commands
- CLI: Different error handling results in differently colored error messages HOT 2
- `verdi code export` does not return a message if successful
- Docs: Deprecate old Docker images on Dockerhub
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiida-core.