Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f221132
run 2to3
baltzell Dec 12, 2023
d6c8edb
fix import
baltzell Dec 13, 2023
40d3753
switch to python3 shebang
baltzell Dec 13, 2023
0076dda
could be it never worked, or an upstream change in error strings
baltzell Dec 13, 2023
5f3e8fc
remove sqlalchemy dependency
baltzell Dec 13, 2023
9f12980
sqlalchemy version changes
Jan 9, 2024
a89ae84
avoid python3 warnings
Jan 9, 2024
98a2728
silence sqlalchemy warning
Jan 9, 2024
9ebd9c0
run 2to3 on scons files
baltzell Apr 23, 2024
df7a441
search homebrew libraries on macos
Apr 23, 2024
cf99bf9
install executable
baltzell Apr 23, 2024
b340a50
cmake install python
baltzell May 28, 2024
42a5acc
detect python version for imp->importlib
baltzell Jul 1, 2024
468356e
2to3 for user creation
baltzell Jul 16, 2024
ccacf2c
cleanup
baltzell Jul 16, 2024
86bbfe9
install scripts, for user addition
baltzell Jul 16, 2024
76e9f10
use $CCDB_USER
baltzell Aug 28, 2024
bb82913
remove ide stuff
baltzell Aug 28, 2024
680e8e4
bugfix
baltzell Aug 28, 2024
44c41fe
hush sqlalchemy
baltzell Aug 28, 2024
1ad0790
gitignore all *.swp
baltzell Aug 28, 2024
08d5e3f
python3 collections->abc
baltzell Aug 28, 2024
1b894dd
sort 'em first
baltzell Sep 30, 2024
85ea338
fix oops
baltzell Sep 30, 2024
a5a7f98
disable autoflush
baltzell Oct 30, 2024
8d1745f
remove "duplicate" ccdb in header install
baltzell Nov 21, 2024
f137474
fix: bump CMake minimum version to 3.5
c-dilks Apr 3, 2025
02818af
Merge pull request #1 from c-dilks/cmake-minver-3.5
baltzell Apr 3, 2025
3a3ac12
Update README.md
baltzell May 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ tmp/
.sconsign.dblite

#swp
src/Tests/.*.swp


*.swp

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
# cmake -DCMAKE_INSTALL_PREFIX=<install_location> ..
# make install
#
cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(CCDB_Project)

add_subdirectory(src)

install(PROGRAMS bin/ccdb DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
install(DIRECTORY python DESTINATION ${CMAKE_INSTALL_PREFIX})
install(DIRECTORY scripts DESTINATION ${CMAKE_INSTALL_PREFIX})

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
This repository is archival, read-only, moved to https://code.jlab.org/hallb/clas12/ccdb

# ccdb
The Jefferson Lab Calibration Constants Database (CCDB) is a framework to store and manage calibration constants for experiments in high energy and nuclear physics. Primary access to the constants sets is by run number. Constants sets themselves are organized in a tree of constant set types, customized for the experiment and of arbitrary depth. Alternate versions of constants are supported. The complete time history of the constant set tree is kept. Access to alternate versions and to older versions is supported via configuration of the access routines.

Expand Down
4 changes: 2 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import os

#Setup default environment. This environment
if not 'CCDB_HOME' in os.environ:
print "CCDB_HOME environment variable is not found but should be set to compile the CCDB"
print "One can run 'source environment.bash' from your bash shell to automatically set environment variables"
print("CCDB_HOME environment variable is not found but should be set to compile the CCDB")
print("One can run 'source environment.bash' from your bash shell to automatically set environment variables")
exit(1)

#Create 'default' environment. Other environments will be a copy of this one
Expand Down
17 changes: 1 addition & 16 deletions bin/ccdb
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
#!/usr/bin/env python
#!/usr/bin/env python3

if __name__ == "__main__":
import ccdb
ccdb.init_ccdb_console()
















67 changes: 0 additions & 67 deletions projects/CLion/CMakeLists.txt

This file was deleted.

128 changes: 0 additions & 128 deletions projects/Netbeans/Library/Makefile

This file was deleted.

Loading