https://sourceforge.net/apps/ideatorrent/sourceforge/ideatorrent/idea/824/
SF clearly says that the backup of the project data is left to project admins:
https://sourceforge.net/apps/trac/sourceforge/wiki/Backup%20your%20data
Fine.
However, there is currently no way to backup the SF2.0 tools, for instance the data from the ticket tool.
Backups would be the first step, then a way to restore (though we never offered that part in SF classic to my knowledge)?
Closed #392.
je/42cc_3154_link_api
Since this ticket is about ForgeLink API and not directly related to the export, I've created a separate branch for that. You may wish to review this changes separately and merge them to master before full export is ready.
Documentation for https://sourceforge.net/p/forge/documentation/Allura%20API/
Closed #391.
je/42cc_3154_blog_api
Docs:
merged je/42cc_3154_link_api
FYI, tested with curl-oauth:
Closed #394.
je/42cc_3154
(forced update)For the blog API:
BlogPost.__json__
?post.viewable_by = ['all']
is unique and I'm not sure why). Can you check for better code re-use on post, update, list and viewing? It seems to me that we could refactor and get some cleaner code that uses the same methods. Or perhaps even one controller could just call the other controller with no new methods/helpers needed. And for listing posts, it wouldn't be bad if the API had pagination like the regular controller too (I don't remember offhand if the same pagination classes are used for API pagination though)Closed #389.
je/42cc_3154
Originally by: *anonymous
Was it resolved ?
I do not understand the "bla bla bla" which is comming to my e-mails.
Could you please state clearly can we back up our Tickets ?
Thank
Last edit: Anonymous 2015-12-14
We've been closing some of our subtasks for this issue. We're tracking a lot of detail on this ticket, but if you just want to know when it's all done, then wait for the "status" field of the ticket to be set to "closed". This is a big feature so I expect we'll also post on the SF blog when this is all done and ready to be used.
Created #407: [#3154] ForgeBlog API followup (1cp)
Related
Tickets:
#3154Closed #393.
je/42cc_3154
Closed #390.
je/42cc_3154
Closed #407.
je/42cc_3154_blog_api
(forced update)Closed #395.
je/42cc_3154
Merged je/42cc_3154_blog_api
I've made a few commits myself and rebased and resolved a conflict. That is all on
db/3154
so please review those commits (give me feedback if anything's not good) and use that as a starting point for the followup work.Overall this is working well and I like how it came together. Here's some areas to make it better before we merge:
tempfile.mkstemp
in the final dir so its unique & secure (in case end-users can write to this dir too, we don't want them to cause problems with malicious symlinks etc). Then lastly, do an os.rename (which is atomic and thus also safe) from that mkstemp filename to a final filename which also includes the timestamp. Actually, for maximum flexibility with the final filaname, lets expand bulk_export_path to include the file name too. E.g./tmp/bulk_export/{nbhd}/{project}/allura-backup-{date:%Y-%m-%d-%H%M%S}.zip
(passdate=datetime.utcnow()
into the format call).zip_and_cleanup
. If that fails, we need to let it fail - there won't be a valid zip file for the user to get.bulk_export
queries andDiscussion.__json__
. It's not really necessary and if there's not an index on(app_config_id, mod_date)
for example and the result is very large, then mongo can error on the sort.Created
Related
Tickets:
#3154408 closed, branch mi/42cc_3154
closed #409 neighboorhoods fixes for export, branch mi/42cc_3154
had some merging issues, please check if merge is correct
closed #410 tmp file changes in export, branch mi/42cc_3154
Not sure if that's what you mean though.
closed #411 INI option and smal additions for export, branch mi/42cc_3154