[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62762: 'make' often errors with "Org version mismatch" after pulling
From: |
Ihor Radchenko |
Subject: |
bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code |
Date: |
Mon, 08 May 2023 10:05:05 +0000 |
Max Nikulin <manikulin@gmail.com> writes:
>> So, to me, (assuming the above is true) the remaining question is what
>> Org developers want to do about `git pull; make` in Org's own repository.
>
> Perhaps `org-assert-directory' may be added to `org-assert-version'
>
>
> (defun tst-assert-load-dir ()
> (let ((dir (tst-get-load-dir))
> (url "https://orgmode.org/worg/org-faq.html#mixed-install"))
> (unless (equal tst-load-dir dir)
> (error "Path shadowing detected, see <%s>. %s vs %s"
> url dir tst-load-dir))))
Sounds reasonable.
I think we can try to do the following:
1. Use the load-dir test, warn, and try to re-load
2. Use org-assert-version, but downgrade error to simple warning
WDYT?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, (continued)
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, Stefan Monnier, 2023/05/05
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, Max Nikulin, 2023/05/05
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, Stefan Monnier, 2023/05/05
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, Max Nikulin, 2023/05/06
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, Stefan Monnier, 2023/05/06
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, Max Nikulin, 2023/05/07
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, Stefan Monnier, 2023/05/07
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code,
Ihor Radchenko <=
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, Max Nikulin, 2023/05/10
- bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code, Max Nikulin, 2023/05/06
- bug#62762: Incremental builds and Lisp files dependencies pulling a new version of the code, Eli Zaretskii, 2023/05/06
- bug#62762: Incremental builds and Lisp files dependencies pulling a new version of the code, Max Nikulin, 2023/05/06
- bug#62762: Incremental builds and Lisp files dependencies pulling a new version of the code, Eli Zaretskii, 2023/05/06
- bug#62762: Incremental builds and Lisp files dependencies pulling a new version of the code, Max Nikulin, 2023/05/06
- bug#62762: Incremental builds and Lisp files dependencies pulling a new version of the code, Eli Zaretskii, 2023/05/07