Giter Club home page Giter Club logo

Comments (3)

dosubot avatar dosubot commented on August 26, 2024 2

To format a blueprint file to include both the gitextractor and customize plugins to collect filenames from GHE commits, you can structure it as follows:

const blueprint = [
  [
    {
      plugin: 'gitextractor',
      options: {
        url: 'https://github-enterprise-instance.com/your-private-repo.git',
        repoId: 'github:GithubRepo:384111310',
        user: 'your-username',
        password: 'your-password'
      },
    },
    {
      plugin: 'customize',
      options: {
        transformationRules: [
          {
            table: 'commits',
            rawDataTable: '_raw_github_commits',
            rawDataParams: '{"ConnectionId":1,"RepoId":384111310}',
            mapping: {
              filename: 'files.filename'
            }
          }
        ]
      },
    },
  ],
];

export default blueprint;

In this example:

  • The gitextractor plugin is configured to extract data from the specified GitHub Enterprise repository.
  • The customize plugin is included to perform additional custom operations, such as collecting filenames from GHE commits.

Ensure that the SKIP_COMMIT_FILES environment variable is not set to true to collect commit file data:

SKIP_COMMIT_FILES=false

This setting ensures that the plugin collects commit file data, including filenames, from GHE commits [1][2].

To continue talking to Dosu, mention @dosu.

from incubator-devlake.

dosubot avatar dosubot commented on August 26, 2024 2

The time frame used when creating an advanced blueprint is specified by selecting a sync frequency option or entering a cron code to set your preferred schedule. After setting up the blueprint, you can track the progress of the current run and view all historical runs of previously created blueprints from the Blueprint page [1][2][3][4].

To continue talking to Dosu, mention @dosu.

from incubator-devlake.

amokkapati avatar amokkapati commented on August 26, 2024

@dosu
what time frame is used when creating an advanced blueprint

from incubator-devlake.

Related Issues (20)

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.