Comments (3)
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.
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.
@dosu
what time frame is used when creating an advanced blueprint
from incubator-devlake.
Related Issues (20)
- [Bug][Github] Pull Requests not being updated HOT 1
- [Bug][Sonarcube] Data too long for column 'component' at row 12 HOT 1
- [Bug][Github] Table 'pull_request_assignees' & 'pull_request_reviewers' has no user data from Github HOT 7
- Question about RDS Devlake HOT 21
- [Question][DORA] About the logic of ‘Median Lead Time for Changes‘ HOT 10
- [Feature][Azure DevOps Go] Add TFVC Repository Support in DevLake Plugin for Azure DevOps Go
- [Question]Getting file info HOT 13
- [Bug][TimeAfter] Bug title The timeAfter parameter in the DevLake sync API isn't functioning as expected. HOT 2
- [Feature][Config UI] Support favorites in project list
- [Bug][CircleCI] Regex Matches Workflows but Fails to Match Jobs HOT 9
- [Feature][Webhook] Allow cleanup for (deployment/incident) data collected by a webhook
- [Question]How do I modify this so that it records file names that were updated during git commits/pull requests HOT 5
- [Bug][Framework] fields are empty in table `_devlake_subtasks`
- [Bug][Grafana] Monthly Deployment SQL Filter HOT 1
- Unable to access config-ui after resetting the admin password in Grafana HOT 1
- [Bug][jira] field_id is empty in issue_changelogs HOT 1
- [Question][Module Name] Question title HOT 1
- [Question][Module Name] Devlake ECS Deployment HOT 9
- [Question][Module Name] Deploy devlake with managed GCP Cloud database service (with SSL enabled) HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-devlake.