by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 11:34
    blackjack4494 starred gitbucket/gitbucket
  • Jul 08 22:57
    bitwiseman edited #2480
  • Jul 08 22:57
    bitwiseman edited #2480
  • Jul 08 22:56
    bitwiseman edited #2480
  • Jul 08 22:55
    bitwiseman edited #2480
  • Jul 08 22:54
    bitwiseman opened #2480
  • Jul 08 19:43
    btlogy edited #2479
  • Jul 08 14:51
  • Jul 08 14:49
    btlogy commented #2479
  • Jul 08 14:46
    btlogy commented #2479
  • Jul 08 14:42
    btlogy commented #2479
  • Jul 08 13:56
    btlogy opened #2479
  • Jul 08 09:59
    REsab starred gitbucket/gitbucket
  • Jul 08 07:10
    arata-nvm starred gitbucket/gitbucket
  • Jul 08 05:00
    romanofficial starred gitbucket/gitbucket
  • Jul 08 04:11
    aegershman starred gitbucket/gitbucket
  • Jul 07 22:20
    bitwiseman commented #2437
  • Jul 07 20:59
  • Jul 07 15:07
    SIkebe commented #2459
  • Jul 07 13:58
    solvingj commented #2459
saurabh daga
@dagasaurabh
how to enable LFS support in gitbucket
SIkebe
@SIkebe
@dagasaurabh You can enable Git LFS by setting Base URL in your System settings page.
https://gitbucket.github.io/gitbucket-news/gitbucket/2017/01/03/git-lfs-support.html
ziggystar
@ziggystar
Hello all. I'm currently trying to connect to GitBucket using Intellij Clion (should be same as Idea). I asked this question before, as others have done. And there is no satisfactory answer: Is it possible to browse GitBucket repos from within Intellij IDEs? Yes, I know it depends upon whether API is implemented, etc. But I need to know whether it works or not. If it does not work, I'll file an issue. If it should work, I'll try to fix my setup. I think there should be a Wiki page with Intellij interop. This also concerns the task feature of Intellij that might connect to GitBucket issues.
Naoki Takezoe
@takezoe
I'm not really sure since I've never tried. Has someone tried to use IntelliJ with GitBucket?
Intuitively, IntelliJ's task feature doesn't work with GitBucket because GitBucket covers GitHub's API very partially. Also, I'm not sure which APIs we need to implement for that.
Yuusuke KOUNOIKE
@kounoike
I tried it a year or two ago. According to my memory, most APIs work well. However, the most important feature, the search API, was not implemented. I have created a dummy API that returns all issues for any search. I think it is very difficult to implement this API correctly.
LowDensity
@LowDensity
Hello , Is it possible to set gitbucket to use a bare repo?
We have a web server and wishes to version control this website.
I am currently setting up with apache + git , but is looking for easier solution.
Yan
@yaroot
@LowDensity do you mean [push to deploy] or [commit for every file change]
SIkebe
@SIkebe
??? GitBucket itself manages repositories as bare repo under {GITBUCKET_HOME}\repositories.
If you want to clone as a bare repository, you can something like this
git clone --bare http://localhost:8080/git/root/repository.git
LowDensity
@LowDensity
@yaroot yes i do , sorry for poor english
@SIkebe I am new to this, but I thought it will be default for webservers like this to host local repositories
What a surprise.
LowDensity
@LowDensity
It seems that I have misunderstood the meaning of clone --bare
thanks all.
SIkebe
@SIkebe
Glad to hear that :smile:
LowDensity
@LowDensity
This message was deleted
LowDensity
@LowDensity
Hello guys, I have got problem with ci-plugin but I am not sure if this is the place to ask
I do not understand how or in what case skip word / run words will be used
If this is not the place , please tell me.
Josh Curtiss
@joshuacurtiss
It appears that the API does not currently support reporting whether a project has a wiki. Am I correct or did I miss it?
For instance, GitHub has a has_wiki property but that is not included in the data returned by GB when getting repo info.
(I've written a script that queries all active repos and merges them into one monolithic repo to do things like search our entire codebase, etc.. And would like to do a similar thing for the wikis.)
Naoki Takezoe
@takezoe

@LowDensity https://github.com/takezoe/gitbucket-ci-plugin/blob/master/README.md#skip-and-re-run-by-keywords

You can skip a build by including specific words in the commit message. Moreover you can also re-run the pull request build by adding a comment including specific words. These words can be set at the build settings.

@joshuacurtiss GitBucket APIs don't have such property for now. Adding has_wiki property might be a good idea.
LowDensity
@LowDensity
@takezoe thanks .
LowDensity
@LowDensity
Don't know if this is counted as an issue,
I deployed gitbucket to a tomcat and tried to change the default gitbucket.home to a relatively easy-to-find directory.
And then it starts giving me 404 "The origin server did not find a current representation..." error.
I wanted to use external db and put repostitories in an easy-to-find location for future management.
LowDensity
@LowDensity
using Tomee 7.1.1 / Tomcat 8.5.4
Naoki Takezoe
@takezoe
@LowDensity How did you try to configure gitbucket.home? In Tomcat or other servlet containers, you can use an environmen variable GITBUCKET_HOME or a system property gitbucket.home as described in this doc: https://github.com/gitbucket/gitbucket/wiki/Basic-configurations
LowDensity
@LowDensity
image.png
I tried with this.
The web.xml located in tomcat/webapps/gitubcket/WEB-INF/web.xml
@takezoe Does environment variable means setting GITUBKCET_HOME in windows Environment Variable?
or tomcat has its own
LowDensity
@LowDensity
@takezoe Setting environmental Variables in Windows seems to work fine , thanks. Also suggest removing the commented part I posted in pic .
Things dont work correct after uncommented.
Naoki Takezoe
@takezoe
I'll remove that part from doc. Thanks!
@LowDensity But where did you find that?
Marc Teufel
@mteufel
Just one question: Do you think migration from (Atlassian) Bitbucket -> Gitbucket is as easy as 1-2-3 ? Just cloning? Or is there more?
LowDensity
@LowDensity
@takezoe I found the line exact the same in this file :
https://github.com/gitbucket/gitbucket/blob/master/src/main/webapp/WEB-INF/web.xml
Matthieu Brouillard
@McFoggy
@mteufel depends on your requirements. If you just want to move the source code (with history) then creating a repo from another one is enough. If you expect to retrieve also the issues, PR, ... it is another story.
Naoki Takezoe
@takezoe
@LowDensity Thanks! Removed: gitbucket/gitbucket@5d20cd0
Matt
@mattj83_gitlab
Hello, I am trying to get gitbucket going on Ubuntu 18.04 with tomcat 8. I got it installed the first time but it crashed soon after with the following output in catalina.out.
9-Jan-2020 20:31:30.447 WARNING [http-nio-8080-exec-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [gitbucket] appears to have started a thread named [job-akka.actor.default-dispatcher-6] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: sun.misc.Unsafe.park(Native Method) akka.dispatch.forkjoin.ForkJoinPool.scan(ForkJoinPool.java:2075) akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 29-Jan-2020 20:31:30.453 WARNING [http-nio-8080-exec-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [gitbucket] appears to have started a thread named [Thread-7] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: sun.nio.ch.EPoll.epollWait(Native Method) sun.nio.ch.EPollPort$EventHandlerTask.poll(EPollPort.java:194) sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:268) java.lang.Thread.run(Thread.java:748) 29-Jan-2020 20:31:30.454 WARNING [http-nio-8080-exec-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [gitbucket] appears to have started a thread named [sshd-SshServer[1d708706]-timer-thread-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748) 29-Jan-2020 20:31:30.454 SEVERE [http-nio-8080-exec-1] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [gitbucket] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5e1d2731]) and a value of type [akka.dispatch.forkjoin.ForkJoinPool.Submitter] (value [akka.dispatch.forkjoin.ForkJoinPool$Submitter@3138c86a]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Thanks for any help.
SSinternalit
@ss_internalit_twitter
Hi Everyone! Does anyone know where the documentation on REST API for gitbucket may be?
We are trying to retrieve the list of all repo from gitbucket...
Naoki Takezoe
@takezoe
@ss_internalit_twitter Here is the list of REST API supported by GitBucket. Mostly GitHub API compatible but not fully supported.
https://github.com/gitbucket/gitbucket/wiki/API-WebHook