Giter Club home page Giter Club logo

Comments (2)

jdelliot avatar jdelliot commented on June 2, 2024

You can override by setting WATCHMAN_VERSION_OVERRIDE to the desired version. See

watchman/CMakeLists.txt

Lines 92 to 103 in 4744a9d

# A nonsensical version that doesn't correspond to any manually
# released version.
set(PACKAGE_VERSION "0.0.0")
set(WATCHMAN_VERSION_OVERRIDE "" CACHE STRING "Use this version code for \
Watchman version instead of the default computed from the repo")
set(WATCHMAN_BUILDINFO_OVERRIDE "" CACHE STRING "Use this version code for \
Watchman build info instead of the default (nothing)")
if (WATCHMAN_VERSION_OVERRIDE)
set(PACKAGE_VERSION "${WATCHMAN_VERSION_OVERRIDE}")
elseif(DEFINED ENV{WATCHMAN_VERSION_OVERRIDE})
set(PACKAGE_VERSION "$ENV{WATCHMAN_VERSION_OVERRIDE}")
.

from watchman.

quux-aivar avatar quux-aivar commented on June 2, 2024

Fedora linux

Similar issue on Fedora

# dnf info watchman
Last metadata expiration check: 0:05:38 ago on Wed 17 Apr 2024 06:21:34 AM UTC.
Installed Packages
Name         : watchman
Version      : 2021.05.10.00
Release      : 24.fc39
Architecture : x86_64
Size         : 1.5 M
Source       : watchman-2021.05.10.00-24.fc39.src.rpm
Repository   : @System
From repo    : updates
Summary      : File alteration monitoring service
URL          : https://facebook.github.io/watchman/
License      : Apache-2.0
Description  : Watchman exists to watch files and record when they actually change. It can also
             : trigger actions (such as rebuilding assets) when matching files change.
# watchman --version
0.0.0

Package info shows that version is 2021.05.10.00, but watchman itself shows 0.0.0.

from watchman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.