<commit_before># odl (Oracle Download Utility)

Automating tests can be a pain, I'm hoping this utility will provide developers with a quick and easy way to fetch Oracle media files.

The goal isn't to bypass the OTN license agreement, or not to log in - the download will not work if you do not provide valid OTN authentication credentials. There are two mechanisms for the username. Pass in the flag: -username <username> to the program; set an environment variable, `OTN_USERNAME`. The password has three mechanisms. Pass in the flag -password; set an environment variable, `OTN_PASSWORD`; Enter the password at run time, when prompted.

Sample usage:

```bash
trent@birroth:/tmp/xe$ export OTN_USERNAME="<EMAIL>"
trent@birroth:/tmp/xe$ odl -getFile db11gxe-linux
<EMAIL>
Do you accept the XE license agreenement?
Full terms found here: http://www.oracle.com/technetwork/licenses/database-11g-express-license-459621.html
Enter Y for Yes, or N for No: Y
Enter your OTN password (<EMAIL>):
The file being requested is https://edelivery.oracle.com/akam/otn/linux/oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
Download complete.
trent@birroth:/tmp/xe$ ls -Alth
total 302M
-rw-rw-r-- 1 trent trent 302M Dec 16 16:25 oracle-xe-11.2.0-1.0.x86_64.rpm.zip
```

Keep in mind, at this stage it is a very early prototype. It needs to be fleshed out a lot more. The next tasks on the pipeline are to modularise the program more, print the license agreement to the screen and then to include other installation media, with the next priority media files being APEX and SQLcl.<commit_msg>Set example email to demo.user<commit_after># odl (Oracle Download Utility)

Automating tests can be a pain, I'm hoping this utility will provide developers with a quick and easy way to fetch Oracle media files.

The goal isn't to bypass the OTN license agreement, or not to log in - the download will not work if you do not provide valid OTN authentication credentials. There are two mechanisms for the username. Pass in the flag: -username <username> to the program; set an environment variable, `OTN_USERNAME`. The password has three mechanisms. Pass in the flag -password; set an environment variable, `OTN_PASSWORD`; Enter the password at run time, when prompted.

Sample usage:

```bash
trent@birroth:/tmp/xe$ export OTN_USERNAME="<EMAIL>"
trent@birroth:/tmp/xe$ odl -getFile db11gxe-linux
<EMAIL>
Do you accept the XE license agreenement?
Full terms found here: http://www.oracle.com/technetwork/licenses/database-11g-express-license-459621.html
Enter Y for Yes, or N for No: Y
Enter your OTN password (<EMAIL>):
The file being requested is https://edelivery.oracle.com/akam/otn/linux/oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
Download complete.
trent@birroth:/tmp/xe$ ls -Alth
total 302M
-rw-rw-r-- 1 trent trent 302M Dec 16 16:25 oracle-xe-11.2.0-1.0.x86_64.rpm.zip
```

Keep in mind, at this stage it is a very early prototype. It needs to be fleshed out a lot more. The next tasks on the pipeline are to modularise the program more, print the license agreement to the screen and then to include other installation media, with the next priority media files being APEX and SQLcl.
{'fraction_non_alphanumeric': 0.08099590293098015, 'fraction_numerical': 0.028364323983611724, 'mean_word_length': 4.416382252559727, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '157204', 'n_tokens_mistral': 1054, 'n_tokens_neox': 957, 'n_words': 437}