Answer the question
In order to leave comments, you need to log in
How to work with code in open source?
Good evening. I have a project A on github that needs a piece of code from project B with significant editing.
Project A has an MIT license, project B has apache2. Actually in the code that I want to copy there is a comment
// Copyright 2014 beego Author. All Rights Reserved.
//
// 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
// 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.
Answer the question
In order to leave comments, you need to log in
What is the difficulty? The Apache license imposes no restrictions whatsoever on modifying the source code. According to the license, you must inform in the source that this code is borrowed from such and such a project.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question