Commit e326983
Reorder traject config discovery to follow collection records pattern (#14)
* Improve traject config discovery and logging
- Add fallback search in arcflow package directory for development
- Add clear logging showing which traject config is being used
- Add warning when using arcflow package version (development mode)
- Improve error messages when traject config not found
- Document that traject config belongs in arcuit gem, not arcflow
- Update README with traject config location guidance
Co-authored-by: alexdryden <47127862+alexdryden@users.noreply.github.com>
* Address code review feedback
- Change log level from error to warning for missing traject config
- Update example path to clarify arcuit gem location
- Show actual searched paths in error message for better troubleshooting
Co-authored-by: alexdryden <47127862+alexdryden@users.noreply.github.com>
* Reorder traject config search to follow collection records pattern
- Change search order: arcuit_dir (1st) → bundle show (2nd) → example file (3rd)
- Rename traject_config_eac_cpf.rb to example_traject_config_eac_cpf.rb
- Prioritize arcuit_dir parameter as most up-to-date user control
- Fall back to example file for module usage without arcuit
- Update README with new search order and example file guidance
Co-authored-by: alexdryden <47127862+alexdryden@users.noreply.github.com>
* Address code review feedback on example file
- Update usage comment to reference correct filename
- Improve log message formatting for consistency
- Add note about copying to arcuit for production use
Co-authored-by: alexdryden <47127862+alexdryden@users.noreply.github.com>
* Update traject config search paths to follow ArcLight pattern
- Remove arcuit_dir/arcflow path (development artifact)
- Add arcuit_dir/lib/arcuit/traject path (matches EAD traject location)
- Apply same paths to both arcuit_dir and bundle show arcuit searches
- Update debug message to reflect new subdirectory checked
Co-authored-by: alexdryden <47127862+alexdryden@users.noreply.github.com>
* Simplify example traject config search to single known location
- Remove candidate paths loop for example file
- Directly check the one known location at repo root
- Add comment explaining we know the exact location
Co-authored-by: alexdryden <47127862+alexdryden@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexdryden <47127862+alexdryden@users.noreply.github.com>1 parent b0bcf33 commit e326983
3 files changed
Lines changed: 74 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
141 | 156 | | |
142 | 157 | | |
143 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
| 968 | + | |
968 | 969 | | |
969 | 970 | | |
970 | 971 | | |
971 | | - | |
| 972 | + | |
972 | 973 | | |
973 | 974 | | |
974 | 975 | | |
975 | | - | |
| 976 | + | |
976 | 977 | | |
977 | 978 | | |
978 | 979 | | |
| |||
984 | 985 | | |
985 | 986 | | |
986 | 987 | | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
991 | 992 | | |
992 | 993 | | |
993 | 994 | | |
994 | 995 | | |
995 | | - | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
996 | 1014 | | |
997 | 1015 | | |
998 | 1016 | | |
| |||
1003 | 1021 | | |
1004 | 1022 | | |
1005 | 1023 | | |
1006 | | - | |
| 1024 | + | |
1007 | 1025 | | |
1008 | 1026 | | |
1009 | | - | |
| 1027 | + | |
1010 | 1028 | | |
| 1029 | + | |
1011 | 1030 | | |
1012 | 1031 | | |
1013 | | - | |
| 1032 | + | |
1014 | 1033 | | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1018 | 1037 | | |
1019 | 1038 | | |
1020 | | - | |
| 1039 | + | |
1021 | 1040 | | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
1034 | | - | |
1035 | | - | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
1036 | 1055 | | |
1037 | | - | |
1038 | | - | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
1039 | 1064 | | |
1040 | 1065 | | |
1041 | 1066 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
0 commit comments