Resolve "next_lesson doesn't correctly work with changing validity ranges and probably also year changes" #448

Owner

Closes #122

Closes #122
Author
Owner

assigned to @nik and unassigned @hansegucker

assigned to @nik and unassigned @hansegucker
Author
Owner

marked this merge request as ready

marked this merge request as **ready**
Author
Owner

added 1 commit

  • acb39b03 - Make next_lesson work with multiple validity ranges and year changes

Compare with previous version

added 1 commit <ul><li>acb39b03 - Make next_lesson work with multiple validity ranges and year changes</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/144/diffs?diff_id=6354&start_sha=9c92bdfc442abe451fc05364ec73414fc6672f8c)
Author
Owner

Blocked by AlekSIS/libs/python-calendarweek!311

Blocked by AlekSIS/libs/python-calendarweek!311
Owner

Please make this

if validity_index == 0:
    return None

This gets rid of one level of indentation for the following code.

Same for line 456.

Please make this ```python if validity_index == 0: return None ``` This gets rid of one level of indentation for the following code. Same for line 456.
Owner

I released calendarweek 0.5.0, please update the dependency.

I released calendarweek 0.5.0, please update the dependency.
Owner

Ah, it's a core dependency.

Normally, we would now have to bump the core version and depend on it, but as our semantic versioning is not in order yet I will ignore this for now and hope for the best.

Ah, it's a core dependency. Normally, we would now have to bump the core version and depend on it, but as our semantic versioning is not in order yet I will ignore this for now and hope for the best.
Author
Owner

changed this line in version 2 of the diff

changed this line in [version 2 of the diff](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/144/diffs?diff_id=6398&start_sha=acb39b03ea202148ee7b901ff93aed9fc7fe2539#601948d5f8dd219a0874cb98a4b16b80f18d0628_439_439)
Author
Owner

added 1 commit

  • 47cbec5a - Make next_lesson work with multiple validity ranges and year changes

Compare with previous version

added 1 commit <ul><li>47cbec5a - Make next_lesson work with multiple validity ranges and year changes</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/144/diffs?diff_id=6398&start_sha=acb39b03ea202148ee7b901ff93aed9fc7fe2539)
Author
Owner

Done.

Done.
Author
Owner

resolved all threads

resolved all threads
Author
Owner

added 16 commits

  • 47cbec5a...56930943 - 15 commits from branch master
  • df9366d3 - Merge branch 'master' into...

Compare with previous version

added 16 commits <ul><li>47cbec5a...56930943 - 15 commits from branch <code>master</code></li><li>df9366d3 - Merge branch &#39;master&#39; into...</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/144/diffs?diff_id=6399&start_sha=47cbec5a56323e8f2decf1ddbab477d95691c069)
nik merged commit 606c9b228a into master 2021-03-26 12:51:10 +01:00
Owner

mentioned in commit 606c9b228a

mentioned in commit 606c9b228a9b96ac5530362d3da316e064a2c436
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-App-Chronos!448
No description provided.