Git Product home page Git Product logo

.github's People

Contributors

jcreel avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

.github's Issues

Add Maven Central Repository to pom file for all Service Repos using Github Actions.

Without Maven Central Repository added, builds under Github Actions sometimes fail due to incorrectly attempting to get Projects from the TAMU file repositories instead of the appropriate ones. Adding Maven Central Repository should resolve this issue.

The problem appears to be network/github related, but this is unclear.
It seems that github, sometimes inconsistently fails to fetch files from maven centrals default repository.
By adding the mirror, an alternative repository is used in addition to maven central.
Failures are inconsistent and do not happen everytime, for example:

The first fails and the second passes, despite being the same commits.
The package that fails is coincidental and will be different from time to time.
(For example here tomcat-embed-websocket-8.5.43.pom fails: https://github.com/TAMULib/CAP/runs/1728569099#step:8:6762 )

Adding what is essentially a second maven central repository to search for the files through adds robustness via the redundancy and helps reduce problems with githubs potential networking issues. For example, central represents the default maven repository and mvnrepository represents the added additional maven repository.
In CAP, this commit is fetching the file from central https://github.com/TAMULib/CAP/runs/1728973172?check_suite_focus=true#step:8:3033 but for a different file it fetches from mvnrepository https://github.com/TAMULib/CAP/runs/1728973172?check_suite_focus=true#step:8:3036 (after trying both tamu-releases and tamu-snapshots for the package spring-boot-dependencies-1.5.22.RELEASE.pom). It seems that for some reason it failed to fetch spring-boot-dependencies-1.5.22.RELEASE.pom from central and then attempts to fetch from the tamu repositories and finally the mvnrepository.

This essentially makes the mvnrepository a failsafe to use in the event central fails and the files are not on tamu-release and not on tamu-snapshots.

https://github.com/TAMULib/CAP/runs/1728973172?check_suite_focus=true#step:8:3033

See also:

The following need to be updated:

  • SAGE
  • CAP
  • LibraryServiceStatusSystemService
  • MetadataAssignmentToolService
  • GIFMButtonService
  • ProjectManagementService
  • CatalogService
  • The Private Repositories

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.