You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "liucyyy (via GitHub)" <gi...@apache.org> on 2024/07/16 06:04:20 UTC

[I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

liucyyy opened a new issue, #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   Gitlab, Data Time Range, v1.0.1-beta1 is working , but v1.0.1-beta2 not working.
   
   ### What do you expect to happen
   
   v1.0.1-beta2 will collect all commits
   ![image](https://github.com/user-attachments/assets/69c80986-dd6b-4d57-971e-66078b54e564)
   ![image](https://github.com/user-attachments/assets/92b29b48-aeeb-4c6e-8403-4bba5391b7a5)
   
   ### How to reproduce
   
   1、Upgrade to version v1.0.1-beta2
   2、Set Time Range to 2024-06-01
   3、Collect Data
   4、Select commits table 
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v1.0.1-beta2
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "d4x1 (via GitHub)" <gi...@apache.org>.
d4x1 commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2252212144

   You can try the latest release: https://github.com/apache/incubator-devlake/releases


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2255125947

   @xlqbyy Note that #7760 doesn't fix the issue but merely reduces the total number of collected commits.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230512503

   Please take a closer look at the screenshot of the database table. The committed_date is 2014, not 2024.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2255153232

   @xlqbyy I just CPed #7760 back to v1.0, will release a new beta this week. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230212557

   ![image](https://github.com/user-attachments/assets/d1bdc231-d7f2-49b5-afa1-4b1702f877b9)
   try perform a full refresh and see if the problem goes away.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2255433429

   > After reviewing the details, I can confirm that the functionality is performing as expected. The purpose of this PR (#7727) was to address the issue where new commits from non-default branches were not being collected. The implemented solution involves fetching all branches from the remote server—this includes fetching at least some old commits from all branches—before executing the shallow fetch. Therefore, it's likely that the old commits are originating from those branches that have not been deleted.
   
   @xlqbyy As discussed previously, it is an unintended side-effect of PR #7727. While it would be ideal to avoid this behavior, we haven't found a viable solution yet. Therefore, it's unlikely to be fixed anytime soon unless a solution to the underlying issue emerges.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2255105069

   @abeizn Hello, please ask why this commit was not released to [v1.0.1-beta4](https://github.com/apache/incubator-devlake/releases/tag/v1.0.1-beta4). I want to test this commit. https://github.com/apache/incubator-devlake/pull/7760


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh closed issue #7742: [Bug][Gitlab]  v1.0.1-beta2 Data Time Range not working
URL: https://github.com/apache/incubator-devlake/issues/7742


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230500267

   I redeployed devlake, added the gitlab project, set the Time Range to 2024-06-01, and then clicked the collect data button. The commits before 2024-06-01 will also be collected (I don’t want the commits to be collected).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230509570

   Please see that committed_date is 2014, not 2024


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230100084

   <!-- Greeting -->
   @liucyyy Hello there! 👋 I'm here to help you with any bugs, questions, or contributions you have for the project. Let me know how I can assist you!
   
   <!-- Answer -->
   The issue with the Data Time Range feature in version v1.0.1-beta2 of GitLab is likely due to the default setting, which is configured to collect data from the past six months. To resolve this and ensure that all commits within the specified time range are collected, you need to adjust the Data Time Range setting in the Sync Policy.
   
   Here is how you can do it:
   
   1. Navigate to the Sync Policy settings.
   2. Adjust the Data Time Range to cover the desired period for which you want to collect commits.
   
   ```md
   ### Step 2.3 - Set the Sync Policy
   There are three settings for Sync Policy:
   - Data Time Range: You can select the time range of the data you wish to collect. The default is set to the past six months.
   - Sync Frequency: You can choose how often you would like to sync your data in this step by selecting a sync frequency option or entering a cron code to specify your preferred schedule.
   - Skip Failed Tasks: sometimes a few tasks may fail in a long pipeline; you can choose to skip them to avoid spending more time in running the pipeline all over again.
   ```
   
   By adjusting the Data Time Range setting, you can ensure that all commits within the specified time range are collected <sup>[[1]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v1.0/Configuration/GitLab.md)</sup>.
   
   If the problem persists, you should capture a screenshot of any error messages and download the logs from the pipeline for further analysis. These logs and error messages can provide more insight into why the feature is not working <sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v1.0/Configuration/Tutorial.md)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230499782

   我重新部署了devlake,添加gitlab项目,设置Time Range为2024-06-01,然后点击collect data按钮,2024-06-01之前的commit也会被采集出来(不希望commit被采集出来)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2252197350

   @klesh  Can you help me create v1.0.1-beta4 based on the main branch? Let me test this function.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2252224800

   > 7727
   
   @d4x1  The latest release does not contain this commit , [commit](https://github.com/apache/incubator-devlake/pull/7760)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "liucyyy (via GitHub)" <gi...@apache.org>.
liucyyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230303022

   @klesh  The problem still exists. Data before June 2024 will still be collected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230414355

   Sorry? what do you mean by "Data before June 2024 will still be collected."? 
   The screenshot you posted showed commits from 2024-09-17 to 18, I thought you were talking about commits between 2024-06-01 and 2024-09-17 were not collected.
   
   Are you expecting data in the database to be deleted? if so, that is not supported at the moment, commits will never be deleted once collected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2235827989

   After reviewing the details, I can confirm that the functionality is performing as expected. The purpose of this PR (https://github.com/apache/incubator-devlake/pull/7727) was to address the issue where new commits from non-default branches were not being collected. The implemented solution involves fetching all branches from the remote server—this includes fetching at least some old commits from all branches—before executing the shallow fetch. Therefore, it's likely that the old commits are originating from those branches that have not been deleted.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2237973214

   > After reviewing the details, I can confirm that the functionality is performing as expected. The purpose of this PR (#7727) was to address the issue where new commits from non-default branches were not being collected. The implemented solution involves fetching all branches from the remote server—this includes fetching at least some old commits from all branches—before executing the shallow fetch. Therefore, it's likely that the old commits are originating from those branches that have not been deleted.
   
   @klesh Ok, many thanks for your help!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2255158430

   > @xlqbyy I just CPed #7760 back to v1.0, will release a new beta this week.
   
   
   Okay, thank you for your answer. I would like to ask you, will this bug be fixed soon?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230417814

   Are you two working together? 😂


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230487189

   @klesh  Sorry, I may not have made it clear. What I meant is that if the Time Range value is set to 2024-06-01, the commit data before 2024-06-01 will not be collected, but the v1.0.1-beta2 version will also collect the commit data before 2024-06-01.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2230490641

   @klesh I changed my account name this afternoon..😂


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2231221174

   Aah, sorry, I see what you meant now.
   Can you check the ``_raw_data_table` and see if those commits were collected by the `gitextractor` plugin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab] v1.0.1-beta2 Data Time Range not working [incubator-devlake]

Posted by "xlqbyy (via GitHub)" <gi...@apache.org>.
xlqbyy commented on issue #7742:
URL: https://github.com/apache/incubator-devlake/issues/7742#issuecomment-2232216622

   > Aah, sorry, I see what you meant now. Can you check the `_raw_data_table` and see if those commits were collected by the `gitextractor` plugin.
   @klesh  Yes, using the **gitextractor** plugin
   ![image](https://github.com/user-attachments/assets/dad7798c-446b-488c-8ab2-6b751ac6ba43)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org