Skip to content

Commit ffed142

Browse files
Bruce Irschickbirschick-bq
andauthored
Port JIRA TODO comments to GitHub issue links. (#189)
* Port JIRA TODO comments to GitHub issue links. * Change PR template to include Cassie and Sunnie * Commit Code Coverage Badge * Commit Code Coverage Badge --------- Co-authored-by: birschick-bq <[email protected]>
1 parent 3d4070b commit ffed142

20 files changed

+51
-57
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
<!--- Link to issue where this is tracked -->
1313

1414
### Additional Reviewers
15-
@affonsoBQ
15+
@CassieLyu
16+
@sunnie629
1617
@alexey-temnikov
17-
@alinaliBQ
18-
@andiem-bq
18+
@affonsoBQ
1919
@birschick-bq
20-
@mitchell-elholm
21-
@RoyZhang2022
2220
<!-- Any additional reviewers -->

.github/workflows/linux-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
sudo make install
124124
125125
# TODO enable clang-tidy-check
126-
# https://bitquill.atlassian.net/browse/AD-726
126+
# https://github.com/aws/amazon-documentdb-odbc-driver/issues/169
127127

128128
# generate compile_commands.json file for clang-tidy-check, requires mongocxx and boost dependencies
129129
# - name: generate-compile-commands-file
@@ -276,7 +276,7 @@ jobs:
276276
sudo make install
277277
278278
# TODO enable clang-tidy-check
279-
# https://bitquill.atlassian.net/browse/AD-726
279+
# https://github.com/aws/amazon-documentdb-odbc-driver/issues/169
280280

281281
# generate compile_commands.json file for clang-tidy-check, requires mongocxx and boost dependencies
282282
# - name: generate-compile-commands-file
@@ -401,4 +401,4 @@ jobs:
401401
402402
403403
# TODO Linux build enhacements
404-
#https://bitquill.atlassian.net/browse/AD-688
404+
# https://github.com/aws/amazon-documentdb-odbc-driver/issues/170

.github/workflows/win-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
steps:
7272
- uses: actions/checkout@v2
7373
# TODO Reactivate cppcheck
74-
# https://bitquill.atlassian.net/browse/AD-752
74+
# https://github.com/aws/amazon-documentdb-odbc-driver/issues/171
7575
# - name: setup-cppcheck
7676
# id: setup_cppcheck
7777
# run: |
@@ -300,7 +300,7 @@ jobs:
300300
role-external-id: ${{ secrets.AWS_ROLE_EXTERNAL_ID }}
301301
role-duration-seconds: 3600
302302
# TODO Reactivate cppcheck
303-
# https://bitquill.atlassian.net/browse/AD-752
303+
# https://github.com/aws/amazon-documentdb-odbc-driver/issues/171
304304
# - name: run-cppcheck
305305
# id: setup_cppcheck
306306
# run: |

scripts/install_dependencies_mac.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ else
5959
fi
6060

6161
# [Re-]Install mongodb server
62-
# TODO [AD-833] make re-installing mongodb server optional
63-
# https://bitquill.atlassian.net/browse/AD-833
62+
# TODO: make re-installing mongodb server optional
63+
# https://github.com/aws/amazon-documentdb-odbc-driver/issues/172
6464
chmod +x $MAC_SCRIPT_DIR/reinstall_mongodb_mac.sh
6565
$MAC_SCRIPT_DIR/reinstall_mongodb_mac.sh
6666

scripts/test_draft_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TODO: [AD-838](https://bitquill.atlassian.net/browse/AD-838)
1+
# TODO: [Automate setting up environment variables when building driver on Linux](https://github.com/aws/amazon-documentdb-odbc-driver/issues/173)
22
# store current directory
33
CURRENT_DIR=$(pwd)
44

src/markdown/setup/developer-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Other Environment Variables
3131
[`Optional`] Log configurations
3232

3333
Set these 2 variables only if you would like to set a custom log path or log level for connection tests; it is completely optional.
34-
1. `DOC_DB_LOG_PATH`=`<path_to_log_file>`(e.g.:`"C:\\Users\\BitQuillUser\\Desktop\\DocumentDB ODBC Driver"`)
34+
1. `DOC_DB_LOG_PATH`=`<path_to_log_file>`(e.g.:`"C:\\Users\\User\\Desktop\\DocumentDB ODBC Driver"`)
3535

3636
The user needs to ensure that the directory mentioned in the log file path does exist, or driver will ignore user's passed value and create the log file in the default log path. Do **not** include a slash at the end of the log path.
3737

src/odbc-test/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ include_directories(include ../odbc/include)
4040
if (WIN32)
4141
include_directories(../odbc/os/win/include)
4242
else ()
43-
# TODO: Ensure MacOS is portable. https://bitquill.atlassian.net/browse/AD-525
4443
include_directories(../odbc/os/linux/include)
4544
endif()
4645

@@ -187,7 +186,6 @@ if (WIN32)
187186
../odbc/os/win/src/common/dynamic_load_os.cpp
188187
)
189188
else()
190-
# TODO: Ensure MacOS is portable. https://bitquill.atlassian.net/browse/AD-525
191189
list(APPEND SOURCES
192190
../odbc/os/linux/src/common/concurrent_os.cpp
193191
../odbc/os/linux/src/common/platform_utils.cpp

src/odbc-test/src/api_robustness_test.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ BOOST_AUTO_TEST_CASE(TestSQLSetStmtAttrRowArraySize) {
173173

174174
#ifndef __APPLE__
175175
// only enable for Windows and Linux as it crashes on Mac
176-
// with iODBC, traced by AD-820
177-
// https://bitquill.atlassian.net/browse/AD-820
176+
// with iODBC, traced by [SPIKE] Two tests crashed on Mac with iODBC
177+
// https://github.com/aws/amazon-documentdb-odbc-driver/issues/183
178178
BOOST_AUTO_TEST_CASE(TestSQLDriverConnect) {
179179
// There are no checks because we do not really care what is the result of
180180
// these calls as long as they do not cause segmentation fault.
@@ -1146,7 +1146,7 @@ BOOST_AUTO_TEST_CASE(TestSQLSpecialColumns) {
11461146
SQLCloseCursor(stmt);
11471147
}
11481148

1149-
// TODO: Memory leak, traced by https://bitquill.atlassian.net/browse/AD-813
1149+
// TODO: Memory leak, traced by https://github.com/aws/amazon-documentdb-odbc-driver/issues/184
11501150
BOOST_AUTO_TEST_CASE(TestFetchScrollLast, *disabled()) {
11511151
CheckFetchScrollUnsupportedOrientation(SQL_FETCH_LAST);
11521152
}
@@ -1161,8 +1161,8 @@ BOOST_AUTO_TEST_CASE(TestFetchScrollFirst, *disabled()) {
11611161

11621162
#ifndef __APPLE__
11631163
// only enable for Windows and Linux as it crashes on Mac
1164-
// with iODBC, traced by AD-820
1165-
// https://bitquill.atlassian.net/browse/AD-820
1164+
// with iODBC, traced by [SPIKE] Two tests crashed on Mac with iODBC
1165+
// https://github.com/aws/amazon-documentdb-odbc-driver/issues/183
11661166
BOOST_AUTO_TEST_CASE(TestSQLError) {
11671167
// There are no checks because we do not really care what is the result of
11681168
// these calls as long as they do not cause segmentation fault.
@@ -1186,10 +1186,10 @@ BOOST_AUTO_TEST_CASE(TestSQLError) {
11861186
std::vector< SQLWCHAR > actualMessage;
11871187
actualMessage.insert(actualMessage.end(), &message[0],
11881188
&message[messageLen + 1]);
1189-
// variable actualMessage is to be used in AD-841
1189+
// variable actualMessage is to be used in https://github.com/aws/amazon-documentdb-odbc-driver/issues/185
11901190

11911191
#if 0
1192-
// TODO: [AD-841](https://bitquill.atlassian.net/browse/AD-841)
1192+
// TODO: https://github.com/aws/amazon-documentdb-odbc-driver/issues/185
11931193
// Check boundary condition with reduced buffer size.
11941194
ret = SQLGetTypeInfo(stmt, SQL_INTERVAL_MONTH);
11951195
BOOST_REQUIRE_EQUAL(ret, SQL_ERROR);

src/odbc-test/src/attributes_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ BOOST_AUTO_TEST_CASE(ConnectionAttributeDefaultLoginTimeout) {
163163
// TODO investigate why the setConnectAttr are not being called before
164164
// establishing connection
165165
// enable test after fix
166-
// https://bitquill.atlassian.net/browse/AD-848
166+
// https://github.com/aws/amazon-documentdb-odbc-driver/issues/186
167167
#ifndef __APPLE__
168168
BOOST_AUTO_TEST_CASE(ConnectionAttributeLoginTimeout) {
169169
Prepare();

src/odbc-test/src/meta_queries_test.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,9 @@ BOOST_AUTO_TEST_CASE(TestColAttributeDataTypesAndColumnNames) {
641641
SQLExecDirect(stmt, req.data(), SQL_NTS);
642642

643643
for (int i = 1; i <= numTests; i++) {
644-
// TODO remove below if statement when bug from JDBC (AD-765) is fixed.
645-
// https://bitquill.atlassian.net/browse/AD-766
644+
// TODO remove below if statement when bug from JDBC is fixed.
645+
// https://github.com/aws/amazon-documentdb-jdbc-driver/issues/498
646+
// https://github.com/aws/amazon-documentdb-odbc-driver/issues/187
646647
// the fieldNull pair is the 13th pair
647648
if (i == 13)
648649
continue;
@@ -734,8 +735,9 @@ BOOST_AUTO_TEST_CASE(TestColAttributeDescConciseType) {
734735

735736
callSQLColAttribute(stmt, req3, SQL_DESC_CONCISE_TYPE, SQL_VARBINARY);
736737

737-
// TODO re-enable this test when bug from JDBC (AD-765) is fixed.
738-
// https://bitquill.atlassian.net/browse/AD-766
738+
// TODO re-enable this test when bug from JDBC is fixed.
739+
// https://github.com/aws/amazon-documentdb-jdbc-driver/issues/498
740+
// https://github.com/aws/amazon-documentdb-odbc-driver/issues/187
739741
// const SQLCHAR req4[] = "select fieldNull from meta_queries_test_001";
740742
//
741743
// callSQLColAttribute(stmt, req3, SQL_DESC_CONCISE_TYPE, SQL_TYPE_NULL);
@@ -1068,8 +1070,9 @@ BOOST_AUTO_TEST_CASE(TestColAttributeDescType) {
10681070

10691071
callSQLColAttribute(stmt, req3, SQL_DESC_TYPE, SQL_VARBINARY);
10701072

1071-
// TODO re-enable this test when bug from JDBC (AD-765) is fixed.
1072-
// https://bitquill.atlassian.net/browse/AD-766
1073+
// TODO re-enable this test when bug from JDBC is fixed.
1074+
// https://github.com/aws/amazon-documentdb-jdbc-driver/issues/498
1075+
// https://github.com/aws/amazon-documentdb-odbc-driver/issues/187
10731076
// const SQLCHAR req4[] = "select fieldNull from meta_queries_test_001";
10741077
//
10751078
// callSQLColAttribute(stmt, req4, SQL_DESC_TYPE, SQL_TYPE_NULL);

0 commit comments

Comments
 (0)