Skip to content

Code used without attribution #5

Closed

Description

@greatest-ape

Source code for udp request parsing (and seemingly other code) is quite obviously copied from aquatic. Please note that it is distributed under a license that requires attribution ;-)

Activity

  1. mickvandijke commented on Jan 27, 2022

    @mickvandijke
    Contributor

    You're right, sorry for that! I'll fix the licensing and properly credit you.

  2. greatest-ape commented on Jan 27, 2022

    @greatest-ape
    Author

    Hey @WarmBeer,

    It might be easier to remove the copied code and instead depend on the aquatic_udp_protocol crate (see https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories). :-)

    Otherwise, you need to redistribute the Apache 2.0 license file with the source code (e.g. in your repository). You should also add the following text to the top of all copied source files:

    Copyright 2022 Joakim Frostegård
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    

    According to the license, you must also prominently list any changes you've made to the files. This might be easier to do if you keep the copied files separate from your own code.

    When it comes to binary redistributions, you need to include the Apache 2.0 license file. You should also include a NOTICE text file with attributions, e.g.:

    Torrust Tracker
    Copyright 2022 WarmBeer
    
    This software contains code derived from aquatic (https://github.com/greatest-ape/aquatic).
    Copyright 2022 Joakim Frostegård
    

    Note: I am not a lawyer and this is not legal advice.

  3. greatest-ape commented on Jan 27, 2022

    @greatest-ape
    Author
  4. mickvandijke commented on Jan 29, 2022

    @mickvandijke
    Contributor

    Hey @greatest-ape ,

    Thank you for the detailed response! Open source development and the licensing that comes with it are new themes for me (I'm currently still in college studying Software Engineering), so I really appreciate your helpfulness :).

    I've decided to fully delete the copied code from aquatic and instead depend on https://crates.io/crates/aquatic_udp_protocol .

    The notice is still being worked on. There is a lot of other dependencies we use with their own licenses and transitive dependencies with their own licenses, so that might take me a little bit :').

    Thank you again for being so helpful and I hope this issue is resolved now.

  5. linked a pull request that will close this issuerefactor: port udp to aquatic_udp_protocol #6on Jan 29, 2022
  6. linked a pull request that will close this issuerefactor: port udp to aquatic_udp_protocol #6on Jan 29, 2022
  7. greatest-ape commented on Jan 29, 2022

    @greatest-ape
    Author

    @WarmBeer Alright, great! Yes, I feel the issue is the resolved.

    Also, there are some crates that attempt to tackle the problem you mentioned, for instance https://github.com/embarkstudios/cargo-about.

  8. mickvandijke commented on Jan 29, 2022

    @mickvandijke
    Contributor

    Cool! That might just save me some headaches :)

  9. added 2 commits that reference this issue on Apr 30, 2026
  10. added a commit that references this issue on Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions