Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netrc: Implement .netrc parsing #244

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Commits on Oct 18, 2019

  1. netrc: Implement .netrc parsing

    This implementation parses the $HOME/.netrc (or a file specified by the
    user) through the `--netrc[=file]` or `-R[file]` options.
    
    It uses a simple FSM in order to parse the file and find the credentials
    corresponding to the FTP host, or uses the "default" entry otherwise,
    if any, according to the specification found on [1]. Tokens not
    applicable to axel usage were not considered.
    
    [1] https://docs.oracle.com/cd/E19455-01/806-0633/6j9vn6q5f/index.html
    
    Closes: axel-download-accelerator#116
    
    Signed-off-by: David Polverari <david.polverari@gmail.com>
    davidpolverari committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    ea153e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2019

  1. WIP refactoring

    davidpolverari committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    316997e View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2019

  1. Latest WIP commit. Includes most of the requested changes.

    Missing:
    
    - add negative version (--no-netrc)
    
    - add struct for netrc use, and use a pointer to it instead of using netrc_filename
    davidpolverari committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    d5a9df9 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2019

  1. Configuration menu
    Copy the full SHA
    87d7320 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Add netrc_t struct

    davidpolverari committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    1a5b638 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba0539d View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. Configuration menu
    Copy the full SHA
    1fc0dcc View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2019

  1. Configuration menu
    Copy the full SHA
    32f53bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97b22a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d2bfa3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d0c858a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    24a27fa View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2019

  1. Configuration menu
    Copy the full SHA
    f9192ab View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. WIP netrc support

    - removed netrc_free
    - simplified netrc_mmap
    - reworked parser
    ismaell authored and davidpolverari committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    5abebdf View commit details
    Browse the repository at this point in the history
  2. WIP: netrc support

    - simplified parser flow
    - replaced memcpy with strlcpy
    davidpolverari committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    802ffcf View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. Minor changes

    davidpolverari committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    c2fc839 View commit details
    Browse the repository at this point in the history
  2. Revert "Minor changes"

    This reverts commit c2fc839.
    davidpolverari committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    e303c11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0103c49 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    607f701 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    67eec63 View commit details
    Browse the repository at this point in the history