Retrieving en-minimal content pack + remove stale code#4865
Conversation
|
Clues welcomed, @aronasorman @rtibbles |
|
Anything funny on the javascript console? Also network tab output for update topictree API data would be handy. On Thu, 18 Feb 2016, 15:45 Benjamin Bach notifications@github.com wrote:
|
|
Sorry, should've mentioned: No javascript errors! No log errors! Need advice on "output for update topictree API data" ? |
|
API call to "/api/videos/topic_tree" On Thu, 18 Feb 2016, 15:48 Benjamin Bach notifications@github.com wrote:
|
|
Also, try running annotate_content_models if you have not already. On Thu, 18 Feb 2016, 15:51 Richard Tibbles richard.tibbles@gmail.com
|
|
|
|
The reason I ask I'd in case the "total_files" attribute is erroneously set On Thu, 18 Feb 2016, 16:02 Benjamin Bach notifications@github.com wrote:
|
|
Thanks! I'll make sure to have a look at that! |
|
Yes, turns out |
|
@benjaoming makes sense, we skip subtitles on |
|
Ah, @aronasorman might need to make a new version of the minimal zip, I On Fri, 19 Feb 2016, 08:15 Benjamin Bach notifications@github.com wrote:
|
|
There's a couple of solutions we can do:
|
|
Did I? Heh, let me regenerate |
|
@aronasorman file size stamping is just part of the KA data fetch. On Fri, 19 Feb 2016, 08:25 Aron Fyodor Asor notifications@github.com
|
You could universally do that for all languages!
That would be nice, also! Let me know when it's uploaded, I'll have a look! |
|
New |
|
I installed Yet, video download still doesn't show anything. I'll investigate why. |
|
@aronasorman now it's also over 80 MB, why did it grow so drastically? It used to be just 20... |
|
That's just in line in what it should be. Last content db did not include
|
|
I found the cause of why I can't download, will fix it asap... |
|
@aronasorman my previous content.db also had assessment items but was 20 MB.. it looks like we jumped from 3,000 to 25,000 exercises? |
|
There's still kind=Exercise in the |
|
|
||
| self.assertEqual(expected, actual) | ||
| expected = [u'counting-out-1-20-objects', u'counting-objects', u'one-more--one-less'] | ||
| actual = get_exercises_from_topics(['cc-early-math-counting']) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
…/github.com/MCGallaspy/ka-lite into init_content_items_w_contentpack_minimal
| @@ -1,284 +0,0 @@ | |||
| import base | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
A few comments that need to be addressed before we can merge. |
|
Aside from the video downloading having duplicates, is there anything else blocking this? If not, then can we merge this and open an issue for the video downloading? |
|
Nothing is blocking this! All @rtibbles comments are addressed AFAIK. I want it merged asap, hence removed the |
|
Cool, let's merge this, then please open an issue for the video download bug you were seeing! |
…pack_minimal Retrieving en-minimal content pack + remove stale code
|
Not all my comments were addressed, the total_files filter has not been On Tue, 23 Feb 2016, 08:26 Aron Fyodor Asor notifications@github.com
|
|
@rtibbles but that's what I addressed, it's a hotfix for a separate issue that occurred as I'm trying to have a functional alpha. I commented on all you comments? |
|
The content packs have the proper total files annotation now, and did On Tue, 23 Feb 2016, 08:41 Benjamin Bach notifications@github.com wrote:
|
|
@rtibbles I think the rebuilt content packs overlapped with the communication, it's sorted out now. |

Summary
Make the sdist backwards-compatible by shipping an English content db. After backwards-compat is asserted, remove all the stale code and JSON data.
This PR led me to fix unrelated issues:
total_files!=0) check because it was breaking the video update topic tree viewTODO
make assetsReviewer guidance
Check that there are no regressions in removed functionality.
Issues addressed
#4864
#3327 (logging)
#4719 (prettify unpacking assessment items)
Documentation
No