All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.metaeffekt.artifact.resolver.alpine.AlpinePackageResolverConfig Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2021-2024 the original author or authors.
 *
 * 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.
 */
package org.metaeffekt.artifact.resolver.alpine;

import lombok.Getter;
import lombok.Setter;
import org.metaeffekt.artifact.resolver.alpine.bodge.CurlDownloadReference;

import java.util.List;
import java.util.Map;

/**
 * Configuration specific to the alpine resolver.
 */
@Getter
@Setter
public class AlpinePackageResolverConfig {
    /**
     * Parameters for manual downloads for pieces of source code for APKBUILDs.
     * 
* Presents an interface to directly state source urls and filenames for these url contents to be downloaded to. *
* This field is useful for cases where the source url given in the APKBUILD is not valid any more. This is the case * with the ncurses package, where links to a "current" directory were given. This meant that the directory did not * contain the "old" sources any more after a few months and required manual intervention. * This method allows a user to manually find and fix source download urls. *
* Formatted as package name -> collection of references. Name should ideally be the actual source package's name * and reference references how to download the piece of source to the APKBUILD's directory. * For how ot build references, see {@link CurlDownloadReference}; *
* Note that this mechanism doesn't disable checksum verification on abuild's part, where each piece of the source * is validated, meaning they are still enforced; the source package needs to be exactly the same or the package * will still fail to build. */ private Map> explicitSourceDownloads; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy