-
Notifications
You must be signed in to change notification settings - Fork 225
Allow not having seperate subdirectory for each contest kind and group #67
Comments
Well, this is an embarrassing problem. cf needs directory to detect where the user is. So I made the decision what you described. |
I have to agree with @infixint943 on this one. I don't think that forcing a directory is a good solution. @xalanq maybe you can explain why is the extra folder needed and maybe we could come up with a workaround? |
idea: it's possible to allow the user to configure this. For example
Update: by reading the config file, it appears that the folder name is configurable (is this documented anywhere?), but is that still requires that there are multiple folders instead of encoding it in the folder name. |
If the user only use |
Contests' rounds are always in the folder |
You can read the source code |
Maybe folder prefix could specify the type? |
That idea is not bad. But I prefer the workspace haha. |
Suppose your folder structure to be:
As a temporary workaround, you can use "folder_name": {
"acmsguru": "cf/acmsgurfu",
"contest": "cf",
"group": "cf/group",
"gym": "cf/gym",
"root": "parent"
} |
In the latest update, cf parse creates the following directory structure
$currdirectory/cf/contest/<contest id>/<problem code>
. I liked the previous format much better, where the problem would be parsed to$currdirectory/<contest id>/<problem code>
.The new update may be convenient to some, but I prefer you gave an option to omit the sub-directories in the corresponding
cf config
option. Maybe something like,Enter ~ if you prefer to not have this subdirectory
.The text was updated successfully, but these errors were encountered: