Giter VIP home page Giter VIP logo

.github's People

Contributors

cliftondobrich avatar coreyarnold avatar elaguerta-nr avatar jbeveland27 avatar jmartin4563 avatar melissaklein24 avatar prototypicalpro avatar tangollama avatar tippmar-nr avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

.github's Issues

feature: disable check for security policy in Repolint configuration files

The Repolinter Rulesets check for existence of a SECURITY.md link. We should consider disabling this. There is now a default security policy in the .github repo at https://github.com/newrelic/.github/blob/main/SECURITY.md. There is a link to that global default in the "About" menu on every repository.As a result any other repository that lacks a policy of its own will still have a security policy and a well-known UX path to it.

image

The global default policy is probably better than most projects will do on their own, so nudging projects to make their own security policy may actually decrease security.

Eliminating a Ruleset check reduces work for maintainers and creates engineering efficiencies.

Bug: error on recommended markdown for community plus category

The repolinter ruleset for community plus has a mismatch. It is throwing an error on the legacy code for the community plus category, which uses markdown rather than HTML. I think this code was written assuming an OR and the actual logic is AND:

      patterns:
         - '<a href="https:\/\/opensource\.newrelic\.com\/oss-category\/#community-plus"><picture><source media="\(prefers-color-scheme: dark\)" srcset="https:\/\/github\.com\/newrelic\/opensource-website\/raw\/main\/src\/images\/categories\/dark\/Community_Plus\.png"><source media="\(prefers-color-scheme: light\)" srcset="https:\/\/github\.com\/newrelic\/opensource-website\/raw\/main\/src\/images\/categories\/Community_Plus\.png"><img alt="New Relic Open Source community plus project banner\." src="https:\/\/github\.com\/newrelic\/opensource-website\/raw\/main\/src\/images\/categories\/Community_Plus\.png"><\/picture><\/a>'
         - https:\/\/opensource\.newrelic\.com\/oss-category\/#community-plus

Change master to main in rule set patterns for OSS repo banners

We seem to be pointing our url patterns to master on the oss site, where the image files are actually the older ones on master. simply changing the pattern to look at main might be a good idea.

readme-starts-with-community-header:
    level: error
    rule:
      type: file-starts-with
      options:
        globsAll:
        - README*
        nocase: true
        lineCount: 5
        patterns:
        - https:\/\/github\.com\/newrelic\/opensource-website\/raw\/master\/src\/images\/categories\/Community_Project\.png
        - https:\/\/opensource\.newrelic\.com\/oss-category\/#community-project
        human-readable-pattern: Open source Community header (see https://opensource.newrelic.com/oss-category)
        flags: i
        succeed-on-non-existent: false
    fix:
      type: file-modify
      options:
        text: "[![Community header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/Community_Project.png)](https://opensource.newrelic.com/oss-category/#community-project)"
        write_mode: prepend
        newlines:
          end: 2

improve repo-linter to look for 2 types of OSS readme header images to support dark mode

DevEn wanted to make a request to improve repo-linter to look for 2 types of OSS readme header images as the one's it checks for is a version that isn't dark mode friendly. We've been using a better version in our repos lately, but noticed repo linter flags it.

Here is where the ruleset files are and here is an example of where we'd like to see an OR statement looking for both images.

You can see how we are using a darkmode friendly header image in this repo. https://github.com/newrelic/instant-observability-website

[![Community Project header](https://opensource.newrelic.com/static/Community_Project-7c4805883d6396086f907f1c716477cd.png)](https://opensource.newrelic.com/oss-category/#community-project)

We suggest supporting both types as if you change the rule set to darkmode only it would flag a lot of repos which may not have active maintainers to fix them.

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.