Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rephrase passage about current version and add its git SHA #501

Closed
wants to merge 1 commit into from

Conversation

macovsky
Copy link
Contributor

@macovsky macovsky commented Nov 1, 2024

No description provided.

@@ -111,8 +111,8 @@ Thanks to [[https://t.me/ritsch_master][=@ritsch_master=]]
** Building TDLib

[[https://core.telegram.org/tdlib][TDLib]] is the library for building Telegram clients. It requires a
large amount of memory to be built. Make sure you are using TDLib
version greater or equal to {{{eval(telega-tdlib-min-version, t)}}}.
large amount of memory to be built. Make sure you are using TDLib version
Copy link
Contributor Author

@macovsky macovsky Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYT about setting the concrete version instead of "greater or equal to" since 1.8.38 is not supported yet?

also added SHA to help with installation

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too many variables, simple string like "1.8.39-056963e" is better, also, it resembles what M-x telega-version RET returns

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about a compromise: one extra var as simple string for manual but code stays intact?

@macovsky macovsky marked this pull request as ready for review November 1, 2024 12:40
@macovsky macovsky changed the title set current version, add git sha rephrase passage about current version and add its git sha Nov 1, 2024
@macovsky macovsky changed the title rephrase passage about current version and add its git sha rephrase passage about current version and add its git SHA Nov 1, 2024
@@ -11,7 +11,8 @@
;; Version: 0.8.293
(defconst telega-version "0.8.293")
(defconst telega-server-min-version "0.7.7")
(defconst telega-tdlib-min-version "1.8.29")
(defconst telega-tdlib-min-version-with-sha "1.8.29-12c1689b5")
(defconst telega-tdlib-min-version (car (split-string telega-tdlib-min-version-with-sha "-")))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, we have sha1 in the etc/Dockerfile, let's extract it from there while generating docs!

This avoids adding sha1 into multiple different places

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good, closing this then.

zevlg added a commit that referenced this pull request Nov 9, 2024
- [upd] README.md update TDLib version

- [enh] For documentation, extract TDLib version and branch from
  etc/Dockerfile, fixes #501

- [fix] Handle `avatar' palette context ignorance while reandering
  telega cat eyers, fixes

- [enh] Use sender of message at point as default member for
  `telega-completing-read-chat-member', fixes #504

Version -> 0.8.391
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants