Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also.Learn more about diff comparisons here.
base repository:lektor/lektor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base:v3.4.0b6
Choose a base ref
Loading
...
head repository:lektor/lektor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:v3.4.0b7
Choose a head ref
Loading
  • 14commits
  • 14files changed
  • 1contributor

Commits on May 6, 2023

  1. fix: pin watchfiles>=0.12

    Our tests require support for the `stop_event` parameter of`watchfiles.watch` which was introduced in 0.12.
    @dairiki
    dairiki committedMay 6, 2023
    Configuration menu
    Copy the full SHA
    1a2b03eView commit details
    Browse the repository at this point in the history

Commits on May 7, 2023

  1. fix(reporter): describe_build_func fails on functools.partial

    PR#1104 uses a functools.partial as a sub-artifact's_build_func_. When verbose logging is enabled, this caused anexception from `lektor.reporter.describe_build_func`.
    @dairiki
    dairiki committedMay 7, 2023
    Configuration menu
    Copy the full SHA
    4bd7050View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Configuration menu
    Copy the full SHA
    91c406fView commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. fix(server): fix for "FATAL: exception not rethrown" on ^C

    This appears to be caused by running watchfiles.watch in a daemonthread.Seesamuelcolvin/watchfiles#128
    @dairiki@yagebu
    dairiki authored andyagebu committedMay 23, 2023
    Configuration menu
    Copy the full SHA
    ceff342View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0503e3View commit details
    Browse the repository at this point in the history
  3. refactor(server): clean up

    @dairiki@yagebu
    dairiki authored andyagebu committedMay 23, 2023
    Configuration menu
    Copy the full SHA
    0b01dc8View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf48e5dView commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c7a5dbaView commit details
    Browse the repository at this point in the history
  6. tests(devserver): add type annotations

    @dairiki@yagebu
    dairiki authored andyagebu committedMay 23, 2023
    Configuration menu
    Copy the full SHA
    8a5e688View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. refactor!: remove the --profile option from the build command (#1137)

    Running `lektor build --profile` just runs the build_all under`cProfile`, then prints the stats.The profile information is only really interesting to Lektordevelopers.  Lektor can be profiled directly like this:    python -m cProfile -o prof.out -m lektor build    python -m pstats prof.out
    @dairiki
    dairiki authoredMay 24, 2023
    Configuration menu
    Copy the full SHA
    7b6c381View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2023

  1. Configuration menu
    Copy the full SHA
    f719d7eView commit details
    Browse the repository at this point in the history
  2. Random buglet fixes in lektor.builder (#1146)

    * fix(builder): logic in FileInfo.unchanged was incorrectThis is a longstand bug — there was a race condition.For efficiency, Lektor's build system caches filesystem os.stat() results and(sometimes) checksums of file content.  (For this is uses PathCache tocache FileInfos which, in turn, cache stat and checksums forindividual files.)The FileInfo classes compute defer computation of stat results andchecksums until they are first accessed.`FileInfo.unchanged` is a method that is used to compare a historicalFileInfo which has been retrieved from the build database with"current" state of a file.  The logic in `FileInfo.unchanged` wassubtly flawed.It first compared the `size` and `mtime` of the file. Forregular (i.e. non-directory) files it returned `True` early if thosematched. If they differed it went on to compare checksums, andreturned a result based (only) as the checksum comparison.The logic is flawed: if the size of the file has changed, we can beassured the file has indeed changed, and should return early rightthen — no need to check the checksum.The real bug arises due to the fact that values of size/mtime and thechecksum that are stored in the build database may have be computedand cached at different times. It's possible, in the case that a fileis modified during a build cycle, for the size/mtime stored in thebuild database to correspond to it's pre-modification state, while thechecksum corresponds to its *post*-modification state.  In this case,due to to above mentioned logic flaw, a file will be detected asunchanged, even though its size has changed.There is a comment in the code that indicates the intent was to skipcomputing and checking checksums for regular files if their size andmtime match.  Here, we fix the logic to do just that.  Another optionwould be to check checksums as well (but only in the case that thesize matches.)Going forward, we probably should take care to ensure that whateverwe record about source file state in FileInfo and the build databaserepresents the file state at a single point in time.* fix(builder): fix Builder.touch_site_config* fix(builder): don't ignore `encoding` when opening temp file* fix(builder): fix docstring
    @dairiki
    dairiki authoredJun 4, 2023
    Configuration menu
    Copy the full SHA
    ba86d1cView commit details
    Browse the repository at this point in the history
  3. docs: update CHANGES.md

    @dairiki
    dairiki committedJun 4, 2023
    Configuration menu
    Copy the full SHA
    3e86870View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Release 3.4.0b7

    @dairiki
    dairiki committedJun 5, 2023
    Configuration menu
    Copy the full SHA
    d5471b4View commit details
    Browse the repository at this point in the history
Loading

[8]ページ先頭

©2009-2025 Movatter.jp