ClickHouse/.gitignore
Azat Khuzhin 0b258dda4e Reproducible builds for Rust
From now on cargo will not download anything from the internet during
builds. This step had been moved for docker image builds (via cargo
vendor).

And now cargo inside docker.io/clickhouse/binary-builder will not use
any crates from the internet, so we don't need to add --offline for
cargo commands in cmake (corrosion_import_crate()).

Also the docker build command had been adjusted to allow following
symlinks inside build context, by using tar, this is required for Rust
packages.

Note, that to make proper Cargo.lock that could be vendored I did the
following:
- per-project locks had been removed (since there is no automatic way to
  sync the workspace Cargo.lock with per-project Cargo.lock, since cargo
  update/generate-lockfile will use only per-project Cargo.toml files
  apparently, -Z minimal-versions does not helps either)
- and to generate Cargo.lock with less changes I've pinned version in
  the Cargo.toml strictly, i.e. not 'foo = "0.1"' but 'foo = "=0.1"'
  then the Cargo.lock for workspace had been generated and afterwards
  I've reverted this part.

Plus I have to update the dependencies afterwards, since otherwise there
are conflicts with dependencies for std library. Non trivial.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-22 22:46:22 +02:00

172 lines
2.1 KiB
Plaintext

# emacs files
*~
*\#
.tramp_history
# vim cache files
*.swp
# auto generated files
*.logrt
/build
/build_*
/build-*
/tests/venv
/obj-x86_64-linux-gnu/
# logs
*.log
*.debuglog
*.stderr
*.stdout
/docs/build
/docs/publish
/docs/edit
/docs/website
/docs/venv
/docs/tools/venv
/docs/tools/translate/venv
/docs/tools/translate/output.md
/docs/en/single.md
/docs/ru/single.md
/docs/zh/single.md
/docs/ja/single.md
/docs/fa/single.md
# callgrind files
callgrind.out.*
# ignore kdevelop files
*.kdev4
*.kdev_include_paths
# ignore sublime project files
*.sublime-*
# Qt Creator files
*.user
# ignore perf output
*/perf.data
# ignore build files
CMakeCache.txt
CMakeFiles
Makefile
cmake_install.cmake
CTestTestfile.cmake
*.a
*.o
*.so
*.dll
*.lib
*.dylib
cmake-build-*
# Python cache
*.pyc
__pycache__
*.pytest_cache
.mypy_cache
test.cpp
CPackConfig.cmake
CPackSourceConfig.cmake
*-preprocessed.xml
core
!core/
vgcore*
*.deb
*.tar.zst
*.build
*.upload
*.changes
build-stamp
configure-stamp
*.bin
*.mrk
*.mrk2
*.mrk3
.dupload.conf
# Netbeans project files
nbproject/*
# JetBrains project files
.idea
# Microsoft Visual Studio Code
.vscode
config-preprocessed.xml
# Protobuf
*.pb.cpp
*.pb.h
# Ignore symlink to private repository
/private
# Gulp dependencies used to minify website
node_modules
public
website/docs
website/presentations
website/package-lock.json
.DS_Store
*/.DS_Store
# cquery cache
/.cquery-cache
# ccls cache
/.ccls-cache
# clangd cache
/.cache
/compile_commands.json
# Toolchains
/cmake/toolchain/*
# ANTLR extension cache
.antlr
# ANTLR generated files
/src/Parsers/New/*.interp
/src/Parsers/New/*.tokens
/src/Parsers/New/ClickHouseParserBaseVisitor.*
# pytest-profiling
/prof
*.iml
# data store
/programs/server/data
/programs/server/metadata
/programs/server/store
/programs/server/uuid
/programs/server/coordination
# temporary test files
tests/queries/0_stateless/test_*
tests/queries/0_stateless/*.binary
tests/queries/0_stateless/*.generated-expect
tests/queries/0_stateless/*.expect.history
tests/integration/**/_gen
# rust
/rust/**/target
# It is autogenerated from *.in
/rust/**/.cargo/config.toml
/rust/**/vendor