Skip to content

Commit b690ea7

Browse files
pbailiebmcutler
authored andcommitted
Readme Files (#2)
Some tweaks to readme files and code comments
1 parent c0390df commit b690ea7

File tree

5 files changed

+27
-37
lines changed

5 files changed

+27
-37
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ Submitty used by Rensselaer Polytechnic Institute, Dept. of Computer Science.
55
*Some modification of these scripts may be necessary to be compatible with your
66
school's information systems.*
77

8-
WARNING: Many of these scripts are intended to process private student
9-
information that is protected by [FERPA (20 U.S.C. § 1232g)]
10-
(https://www2.ed.gov/policy/gen/guid/fpco/ferpa/index.html).
8+
WARNING: Some of these scripts are intended to process private student
9+
information that is protected by [FERPA (20 U.S.C. § 1232g)](https://www2.ed.gov/policy/gen/guid/fpco/ferpa/index.html).
1110
Please contact your school's IT dept. for advice on your school's data security
12-
practices.
11+
policies and practices.
1312

1413
Licensed under the [BSD 3-Clause License](LICENSE).
1514

nightly_db_backup/readme.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ this argument be ommitted.
5959
---
6060

6161
Submitty databases can be restored from a dump using the pg_restore tool.
62-
q.v. [https://www.postgresql.org/docs/9.5/static/app-pgrestore.html]
63-
(https://www.postgresql.org/docs/9.5/static/app-pgrestore.html)
62+
q.v. [https://www.postgresql.org/docs/9.5/static/app-pgrestore.html](https://www.postgresql.org/docs/9.5/static/app-pgrestore.html)
6463

6564
This is script intended to be run as a cronjob by 'root' on the same server
6665
machine as the Submitty system. *Running this script on another server other
@@ -86,9 +85,9 @@ folders, grouped by semester.
8685
---
8786

8887
WARNING: Database dumps can contain student information that is protected by
89-
[FERPA (20 U.S.C. § 1232g)]
90-
(https://www2.ed.gov/policy/gen/guid/fpco/ferpa/index.html). Please consult
91-
with your school's IT dept. for advice on data security practices and policies.
88+
[FERPA (20 U.S.C. § 1232g)](https://www2.ed.gov/policy/gen/guid/fpco/ferpa/index.html).
89+
Please consult with your school's IT dept. for advice on data security policies
90+
and practices.
9291

9392
---
9493

student_auto_feed/config.php

+4-12
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,11 @@
55
* config.php script used by submitty_student_auto_feed
66
* By Peter Bailie, Systems Programmer (RPI dept of computer science)
77
*
8-
* Requires minimum PHP version 5.4 with pgsql, iconv, and ssh2 extensions.
8+
* Requires minimum PHP version 5.6 with pgsql, iconv, and ssh2 extensions.
99
*
10-
* Configuration of submitty_student_auto_feed is structured through a series
11-
* of named constants. This configuration is also used by
12-
* submitty_users_data_backup.php
13-
* submitty_users_data_rollback.php
14-
*
15-
* THIS SOFTWARE IS PROVIDED AS IS AND HAS NO GUARANTEE THAT IT IS SAFE OR
16-
* COMPATIBLE WITH YOUR UNIVERSITY'S INFORMATION SYSTEMS. THIS IS ONLY A CODE
17-
* EXAMPLE FOR YOUR UNIVERSITY'S SYSYTEM'S PROGRAMMER TO PROVIDE AN
18-
* IMPLEMENTATION. IT MAY REQUIRE SOME ADDITIONAL MODIFICATION TO SAFELY WORK
19-
* WITH YOUR UNIVERSITY'S AND/OR DEPARTMENT'S INFORMATION SYSTEMS.
10+
* Configuration of submitty_student_auto_feed is structured through defined
11+
* constants. Expanded instructions can be found at
12+
* http://submitty.org/sysadmin/student_auto_feed
2013
*
2114
* -------------------------------------------------------------------------- */
2215

@@ -39,7 +32,6 @@
3932
date_default_timezone_set('America/New_York');
4033

4134

42-
4335
/* Definitions for error logging -------------------------------------------- */
4436
// While not recommended, email reports of errors may be disabled by setting
4537
// 'ERROR_EMAIL' to null.

student_auto_feed/readme.md

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Submitty Student Auto Feed Script
22
Readme June 26, 2018
33

4-
These are code examples for any University to use as a basis to have student
5-
enrollment data added or updated.
4+
This is a code example for any University to use as a basis to have student
5+
enrollment data added or updated on an automated schedule.
66

7-
Instructions can be found at [http://submitty.org/sysadmin/student\_auto\_feed]
8-
(http://submitty.org/sysadmin/student_auto_feed)
7+
Instructions can be found at [http://submitty.org/sysadmin/student\_auto\_feed](http://submitty.org/sysadmin/student_auto_feed)
98

109
### config.php
1110
A series of define statements that is used to configure the auto feed script.
@@ -21,13 +20,13 @@ CSV file. Extra courses can exist in the data (such as a department wide CSV),
2120
and any enrollments for courses not registered in Submitty are ignored.
2221

2322
Conceptually, a University's registrar and/or data warehouse will provide a
24-
regular data dump, uploaded somewhere as a CSV file. Then with the automatic
25-
uploads scheduled, a sysadmin should setup a cron job to regularly trigger this
26-
script to run sometime after the data dump is provided.
23+
regularly scheduled data dump, uploaded somewhere as a CSV file. A sysadmin
24+
should setup a cron job to regularly trigger this script to run when the CSV
25+
file is available.
2726

28-
This code does not need to be run specifically on the Submitty server, but it
29-
will need access to the Submitty "master" database and the enrollment CSV data
30-
file.
27+
The auto feed script does not need to be run specifically on the Submitty
28+
server, but it will need access to the Submitty "master" database and the
29+
enrollment CSV data file.
3130

3231
---
3332

@@ -56,6 +55,13 @@ will follow the pattern of TYY, where
5655

5756
---
5857

58+
WARNING: Student enrollment CSV files may contain private student
59+
information that is protected by [FERPA (20 U.S.C. § 1232g)](https://www2.ed.gov/policy/gen/guid/fpco/ferpa/index.html).
60+
Please contact your school's IT dept. for advice on your school's data security
61+
policies and practices.
62+
63+
---
64+
5965
Requires at least PHP 5.6 with pgsql, iconv, and ssh2 extensions.
6066

6167
NOTE: Some modification of code may be necessary to work with your school's

student_auto_feed/submitty_student_auto_feed.php

-6
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@
2121
*
2222
* Will run the auto feed for the Spring 2018 semester.
2323
*
24-
* THIS SOFTWARE IS PROVIDED AS IS AND HAS NO GUARANTEE THAT IT IS SAFE OR
25-
* COMPATIBLE WITH YOUR UNIVERSITY'S INFORMATION SYSTEMS. THIS IS ONLY A CODE
26-
* EXAMPLE FOR YOUR UNIVERSITY'S SYSTEMS PROGRAMMER TO PROVIDE AN
27-
* IMPLEMENTATION. IT MAY REQUIRE SOME ADDITIONAL MODIFICATION TO SAFELY WORK
28-
* WITH YOUR UNIVERSITY'S AND/OR DEPARTMENT'S INFORMATION SYSTEMS.
29-
*
3024
* Requires minimum PHP version 5.6 with pgsql, iconv, and ssh2 extensions.
3125
*
3226
* @author Peter Bailie, Systems Programmer (RPI dept of computer science)

0 commit comments

Comments
 (0)