b2share_depositer merge requestshttps://gitlab.jsc.fz-juelich.de/vonstvieth1/b2share_depositer/-/merge_requests2016-12-19T08:50:25+01:00https://gitlab.jsc.fz-juelich.de/vonstvieth1/b2share_depositer/-/merge_requests/1Create command line community selector2016-12-19T08:50:25+01:00Sander ApweilerCreate command line community selectorFixes #1
Communities are requested from B2SHARE, parsed in a dictionary and displayed to the user. The user select the community by typing a number between 0 and the number of communities. The user input is validated for his type and v...Fixes #1
Communities are requested from B2SHARE, parsed in a dictionary and displayed to the user. The user select the community by typing a number between 0 and the number of communities. The user input is validated for his type and value. If type or value is incorrect, the user is asked again. After a correct input the selected community is stored and deposit creation is called.Benedikt von St. Viethb.von.st.vieth@fz-juelich.deBenedikt von St. Viethb.von.st.vieth@fz-juelich.dehttps://gitlab.jsc.fz-juelich.de/vonstvieth1/b2share_depositer/-/merge_requests/2Create Deposit and store deposit id + file path2016-12-19T14:33:28+01:00Sander ApweilerCreate Deposit and store deposit id + file pathFixes #2
User will be asked for Deposit title and open access. Thereafter deposit will be created with title, community and open_access as metadata. Deposit ID and file path are returned from B2SHARE and stored in variables.Fixes #2
User will be asked for Deposit title and open access. Thereafter deposit will be created with title, community and open_access as metadata. Deposit ID and file path are returned from B2SHARE and stored in variables.Benedikt von St. Viethb.von.st.vieth@fz-juelich.deBenedikt von St. Viethb.von.st.vieth@fz-juelich.dehttps://gitlab.jsc.fz-juelich.de/vonstvieth1/b2share_depositer/-/merge_requests/3Split fetch community list and select community2016-12-19T15:38:33+01:00Sander ApweilerSplit fetch community list and select communityFixes #6
User interaction moved in select_community(). Fetch_community_list loads communities from B2share and store names and IDs in dicts. Those dicts are going to be used for community selection and community id verification.Fixes #6
User interaction moved in select_community(). Fetch_community_list loads communities from B2share and store names and IDs in dicts. Those dicts are going to be used for community selection and community id verification.https://gitlab.jsc.fz-juelich.de/vonstvieth1/b2share_depositer/-/merge_requests/4Added nargs='+' to filenames argument to allow use of wildcards2018-02-22T12:00:22+01:00Martin SchultzAdded nargs='+' to filenames argument to allow use of wildcardsBefore, --filenames example*.nc would fail, because the shell expands this to a blank-separated list instead of a comma-seperated list as the depositer wanted to get it. By adding nargs='+' to the parser.add_argument call for filenames...Before, --filenames example*.nc would fail, because the shell expands this to a blank-separated list instead of a comma-seperated list as the depositer wanted to get it. By adding nargs='+' to the parser.add_argument call for filenames, using wildcards works. The old syntax can still be used.https://gitlab.jsc.fz-juelich.de/vonstvieth1/b2share_depositer/-/merge_requests/5Issue1 author2018-03-20T11:52:23+01:00Sander ApweilerIssue1 authorImplement creators upload during the deposit creation. Adding multiple creators in web gui is quite ugly. Fixes #1.Implement creators upload during the deposit creation. Adding multiple creators in web gui is quite ugly. Fixes #1.