conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Fix usage of now removed 'cpp-lib' and 'cpp-exe' plugins.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compl... | groovy | chosen |
[
{
"from": "system",
"value": "Fix error\n`Failed to apply plugin 'com.github.ben-manes.versions'.\n > Cannot add task 'dependencyUpdates' as a task with that name already exists.`\n when global added plugin\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2012-2014 Ben Manes. All Rights Reser... | groovy | chosen |
[
{
"from": "system",
"value": "Add map and styling to this example."
},
{
"from": "human",
"value": "import geoscript.layer.*\nimport geoscript.feature.*\nimport geoscript.geom.*\n\n// Get the Shapefile\nShapefile shp = new Shapefile('states.shp')\n\n// Create a new Schema\nSchema schema = new Sc... | groovy | chosen |
[
{
"from": "system",
"value": "Add exception handling to try and capture test results under failure\n"
},
{
"from": "human",
"value": "def src = 'https://github.com/cloudhotspot/pypackage-docker.git'\n\nnode {\n git url: src\n\n stage 'Build Base Images'\n sh 'make image docker/base'\n ... | groovy | chosen |
[
{
"from": "system",
"value": "Use latest plugins in test app\n"
},
{
"from": "human",
"value": "grails.project.work.dir = 'target'\ngrails.project.class.dir = 'target/classes'\ngrails.project.test.class.dir = 'target/test-classes'\ngrails.project.test.reports.dir = 'target/test-reports'\ngrails.... | groovy | chosen |
[
{
"from": "system",
"value": "Remove reference to inline plugin.\n"
},
{
"from": "human",
"value": "grails.project.class.dir = \"target/classes\"\ngrails.project.test.class.dir = \"target/test-classes\"\ngrails.project.test.reports.dir = \"target/test-reports\"\ngrails.project.dependency.resolut... | groovy | chosen |
[
{
"from": "system",
"value": "Fix test after change to making continuous build use long lived process mode.\n\nEven though we don't yet watch buildSrc task inputs, using long lived process mode means that if the buildSrc code changes we actually propagate the change to the classloader structures.\n"
},
... | groovy | chosen |
[
{
"from": "system",
"value": "Use package instead of applicationId in build config rule\n\n"
},
{
"from": "human",
"value": "package com.uber.okbuck.composer\n\nimport com.uber.okbuck.core.model.AndroidTarget\nimport com.uber.okbuck.rule.AndroidBuildConfigRule\n\nfinal class AndroidBuildConfigRu... | groovy | chosen |
[
{
"from": "system",
"value": "Fix for failing unit test\n"
},
{
"from": "human",
"value": "package org.grails.jaxrs.support\r\n\r\nimport java.io.InputStream;\r\nimport javax.servlet.ServletInputStream\r\n\r\nimport org.springframework.mock.web.MockHttpServletRequest;\r\n\r\nclass RequestStreamA... | groovy | chosen |
[
{
"from": "system",
"value": "Remove @Ignore from integration test\n"
},
{
"from": "human",
"value": "package com.lmax.ant.paralleljunit\n\nimport org.apache.tools.ant.BuildException\nimport org.apache.tools.ant.Project\nimport org.apache.tools.ant.ProjectHelper\n\nimport spock.lang.Ignore\nimpo... | groovy | chosen |
[
{
"from": "system",
"value": "Make the result JSON compliant with MARC-in-JSON\n"
},
{
"from": "human",
"value": "package se.kb.libris.conch.converter\n\nimport se.kb.libris.util.marc.Controlfield\nimport se.kb.libris.util.marc.MarcRecord\nimport se.kb.libris.util.marc.io.Iso2709MarcRecordReader... | groovy | chosen |
[
{
"from": "system",
"value": "Change Location to LocationSummary in EntitySummmary\n"
},
{
"from": "human",
"value": "package brooklyn.web.console.entity;\n\nimport brooklyn.entity.Entity\nimport brooklyn.entity.EntityClass\nimport brooklyn.entity.Group\nimport brooklyn.entity.Effector\nimport b... | groovy | chosen |
[
{
"from": "system",
"value": "Correct path for bootstrap job\n"
},
{
"from": "human",
"value": "println(\"** Configuring bootstrap job\")\nfinal JOB_NAME = 'bootstrap-jenkins-instance'\nfinal JOB_COMMANDS = '''\\\njob('bootstrap-jenkins') {\n scm {\n git {\n remote {\n ... | groovy | chosen |
[
{
"from": "system",
"value": "Fix statement about 1..6 range\n"
},
{
"from": "human",
"value": "class GroovyTutTwo {\n static void main(String[] args) {\n // a string variable\n def vocation = 'doctor';\n def name = \"John Doe\";\n\n println(vocation.class.name); // => java.lang.Str... | groovy | chosen |
[
{
"from": "system",
"value": "Make test pass on Java 8\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2022 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You m... | groovy | chosen |
[
{
"from": "system",
"value": "Add a message when sending an email\n\nOr the step appears empty in the Blue Ocean API\n\nChange-Id: I262b16ea825b2ff367b1041670057d55976d96ca\n"
},
{
"from": "human",
"value": "// Copyright (C) 2017 The Bazel Authors\n//\n// Licensed under the Apache License, Versi... | groovy | chosen |
[
{
"from": "system",
"value": "Add test for inline fragment validation\n"
},
{
"from": "human",
"value": "package graphql.validation\n\nimport graphql.validation.SpecValidationSchema\nimport graphql.parser.Parser\nimport graphql.validation.ValidationError\nimport graphql.validation.Validator\nimp... | groovy | chosen |
[
{
"from": "system",
"value": "Set the version to 1.12.0-SNAPSHOT"
},
{
"from": "human",
"value": "class JasperGrailsPlugin {\n def version = \"1.11.0\"\n def grailsVersion = \"2.1.0 > *\"\n def author = \"Craig Andrews\"\n def authorEmail = \"candrews@integralblue.com\"\n def lice... | groovy | chosen |
[
{
"from": "system",
"value": "Sort results by scientific name\n"
},
{
"from": "human",
"value": "package especies\n\nimport grails.transaction.Transactional\n\n@Transactional\nclass TaxonService {\n\n List list(params) {\n\t\tparams = params + [max: 50]\n\t\treturn Taxon.list(params)\n }\n... | groovy | chosen |
[
{
"from": "system",
"value": "Use same trigger for Py2 and Py3 postcommit test suites."
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional... | groovy | chosen |
[
{
"from": "system",
"value": "Set the version to 1.5.0-SNAPSHOT\n"
},
{
"from": "human",
"value": "/**\n * Simplest. Plugin. Class. Ever.\n *\n * @author LD <ld@ldaley.com>\n */\nclass JcaptchaGrailsPlugin {\n\tdef title = \"Grails JCaptcha Plugin\"\n\tdef description = 'Makes using JCaptcha wit... | groovy | chosen |
[
{
"from": "system",
"value": "Check segment match both sides (for IS data)\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Mikhail Shugay\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * Yo... | groovy | chosen |
[
{
"from": "system",
"value": "Use new api to support gradle-1.x and 2.0 style plugins\n"
},
{
"from": "human",
"value": "package org.dm.gradle.plugins.bundle\n\nimport org.gradle.api.Plugin\nimport org.gradle.api.Project\nimport org.gradle.api.plugins.JavaBasePlugin\nimport org.gradle.api.plugin... | groovy | chosen |
[
{
"from": "system",
"value": "Use more idiomatic technique for asserting that an exception was not thrown in this test.\n"
},
{
"from": "human",
"value": "import grails.plugin.spock.*\nimport collectiontypes.list.*\nimport spock.lang.*\n\nclass LogSpec extends IntegrationSpec {\n\n\tdef fixtureL... | groovy | chosen |
[
{
"from": "system",
"value": "Replace MarkupBuilder with NodeBuilder to remove unnecessary dependency on Groovy XML\n"
},
{
"from": "human",
"value": "package groovy.sql\n\nimport groovy.xml.MarkupBuilder\n\n/**\n * @author Brian McCallister\n * @version $Revision$\n */\nclass SqlWithBuilderTest... | groovy | chosen |
[
{
"from": "system",
"value": "Update page definition to recognize updated screen element.\n"
},
{
"from": "human",
"value": "package pages.app\n\nimport geb.Page\nimport extensions.ReactJSAware\n\nclass HomePage extends Page implements ReactJSAware {\n static at = { reactReady && title == \"M... | groovy | chosen |
[
{
"from": "system",
"value": "Support project dependencies in the shadow configuration.\n"
},
{
"from": "human",
"value": "package com.github.jengelman.gradle.plugins.shadow\n\nimport org.gradle.api.Project\nimport org.gradle.api.artifacts.SelfResolvingDependency\nimport org.gradle.api.file.Copy... | groovy | chosen |
[
{
"from": "system",
"value": "Clean up the way the source sets structuring is done.\n\nDetect whether or not the project has Java/Groovy applied to it instead of forcing the project to have it applied. Also set up source sets based on detection instead of giving everything the same setup.\n"
},
{
"f... | groovy | chosen |
[
{
"from": "system",
"value": "gradle: Use gradle 4.5 as base gradle version for Java 10 testing\n\nSigned-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>\n"
},
{
"from": "human",
"value": "package aQute.bnd.gradle\n\nimport org.gradle.api.JavaVersion\nimport org.gra... | groovy | chosen |
[
{
"from": "system",
"value": "Add the \"database\" config option back\n\nRe-add the \"database\" config option so that old config files still work,\nbut make it optional, so newer config files also still work. Everybody\nwins!\n"
},
{
"from": "human",
"value": "package edu.oregonstate.mist.locat... | groovy | chosen |
[
{
"from": "system",
"value": "Fix how empty results are handled\n\nChange the search results so that it displays an error message when no results are returned for a search.\n\nCloses #1\n"
},
{
"from": "human",
"value": "package scareflix\n\nimport groovy.json.*\n\nclass SearchController {\n\n ... | groovy | chosen |
[
{
"from": "system",
"value": "Update default google-java-format version to v1.0\n"
},
{
"from": "human",
"value": "package com.github.sherter.googlejavaformatgradleplugin\n\nimport groovy.transform.CompileStatic\n\n@CompileStatic\nclass GoogleJavaFormatExtension {\n\n String toolVersion = '0.... | groovy | chosen |
[
{
"from": "system",
"value": "Update default griffon version on GriffonPlugin\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2008-2015 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance... | groovy | chosen |
[
{
"from": "system",
"value": "Modify so that down() will run\n"
},
{
"from": "human",
"value": "class ModifyAuditEvents extends edu.northwestern.bioinformatics.bering.Migration {\n void up() {\n renameColumn(\"audit_events\", \"user_name\", \"username\");\n renameColumn(\"audit_... | groovy | chosen |
[
{
"from": "system",
"value": "Disable configuration cache in tests involving the kotlin plugin\n\nSee https://youtrack.jetbrains.com/issue/KT-33908\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014-2017 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0... | groovy | chosen |
[
{
"from": "system",
"value": "Reduce apt jar target dependencies\n\n"
},
{
"from": "human",
"value": "package com.github.okbuilds.okbuck.composer\n\nimport com.github.okbuilds.core.model.Target\nimport com.github.okbuilds.okbuck.rule.AptRule\n\nfinal class AptRuleComposer extends JavaBuckRuleCom... | groovy | chosen |
[
{
"from": "system",
"value": "JENKINS-58938: Fix Groovy compilation error that breaks the UI.\n"
},
{
"from": "human",
"value": "package hudson.triggers.SlowTriggerAdminMonitor\n\nimport hudson.triggers.SlowTriggerAdminMonitor\n\nSlowTriggerAdminMonitor tam = my\n\ndl {\n div(class: \"alert a... | groovy | chosen |
[
{
"from": "system",
"value": "Put the app in the command context as well.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2010 Luke Daley\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may... | groovy | chosen |
[
{
"from": "system",
"value": "Update path to build.json file\n"
},
{
"from": "human",
"value": "import spock.lang.Specification\nimport static org.jfrog.artifactory.client.ArtifactoryClient.create\nimport groovy.json.*\n\n\nclass RemoveModulePropertiesTest extends Specification {\n def 'remov... | groovy | chosen |
[
{
"from": "system",
"value": "Remove @PendingFeature now that GORM upgraded\n"
},
{
"from": "human",
"value": "package functionaltests\n\nimport grails.testing.mixin.integration.Integration\nimport spock.lang.PendingFeature\nimport spock.lang.Specification\n\n@Integration(applicationClass = Appl... | groovy | chosen |
[
{
"from": "system",
"value": "Use constraints to ensure scores are unique per date, lang, site\n"
},
{
"from": "human",
"value": "package langpop\n\nclass Score {\n Date date\n Integer score\n\n static belongsTo = [lang: Lang,\n site: Site]\n\n static constrain... | groovy | chosen |
[
{
"from": "system",
"value": "Fix viewing status for movies\n"
},
{
"from": "human",
"value": "package streama\n\nimport grails.transaction.Transactional\n\nimport static org.springframework.http.HttpStatus.NOT_ACCEPTABLE\n\n@Transactional\nclass ViewingStatusService {\n\n def springSecuritySer... | groovy | chosen |
[
{
"from": "system",
"value": "Make Travis build work again\n"
},
{
"from": "human",
"value": "package com.tidyjava.bp\n\nimport spock.lang.Specification\n\nclass HomeControllerSpec extends Specification {\n\n def \"test\"() {\n given:\n println(\"Test running again!\")\n\n ... | groovy | chosen |
[
{
"from": "system",
"value": "Make comment a little clearer"
},
{
"from": "human",
"value": "package foundation.omni\n\nimport spock.lang.Specification\n\n\n/**\n * Tests that illustrate a (NOW FIXED) Groovy Bug\n * See https://issues.apache.org/jira/browse/GROOVY-7608\n */\nclass GroovyNumberIs... | groovy | chosen |
[
{
"from": "system",
"value": "Set the version to 1.4.0-SNAPSHOT\n"
},
{
"from": "human",
"value": "/**\n * Simplest. Plugin. Class. Ever.\n *\n * @author LD <ld@ldaley.com>\n */\nclass JcaptchaGrailsPlugin {\n\tdef title = \"Grails JCaptcha Plugin\"\n\tdef description = 'Makes using JCaptcha wit... | groovy | chosen |
[
{
"from": "system",
"value": "Revert \"Ignore tests until spring-security-core is migrated\"\n\nThis reverts commit d561833ce75d4253321b128f126ab8d227101322.\n\nClose: https://github.com/grails/grails3-functional-tests/issues/20\n"
},
{
"from": "human",
"value": "package functionaltests\n\nimpor... | groovy | chosen |
[
{
"from": "system",
"value": "Return baskets in same order as unique items list\n"
},
{
"from": "human",
"value": "package me.therin.brovine\n\nimport me.therin.mining.itemsets.data.BasketIterator\nimport me.therin.mining.itemsets.data.Basket\n\n/**\n * TestBaskets.java\n * \n * TODO: Class desc... | groovy | chosen |
[
{
"from": "system",
"value": "Change the test into a noop\n"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2022 Stichting Yona Foundation\n * This Source Code Form is subject to the terms of the Mozilla Public L... | groovy | chosen |
[
{
"from": "system",
"value": "Handle filenames at root level of data folder in addition to deep paths\n"
},
{
"from": "human",
"value": "class UrlMappings {\n\n static mappings = {\n \"/$controller/$action?/$id?(.$format)?\" {\n constraints {\n // apply constr... | groovy | chosen |
[
{
"from": "system",
"value": "Add explicit test of ConsensusComparison Iterator\n"
},
{
"from": "human",
"value": "package org.mastercoin.consensus\n\nimport spock.lang.Specification\n\nimport static org.mastercoin.CurrencyID.*\n\n/**\n *\n */\nclass ConsensusComparisonSpec extends Specification... | groovy | chosen |
[
{
"from": "system",
"value": "Fix another broken int test\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * Yo... | groovy | chosen |
[
{
"from": "system",
"value": "Remove copy paste from easyb tests\n"
},
{
"from": "human",
"value": "import referencelibrary.*\nimport referencelibrary.UI.*\nimport referencelibrary.data.StubDao\n\ndescription \"\"\"A new bookreference can be added\n to referencelibrary\"\"\"\n\nsc... | groovy | chosen |
[
{
"from": "system",
"value": "Use the higher-level Iso2709MarcRecordReader in MarcJSONConverter\n"
},
{
"from": "human",
"value": "package se.kb.libris.conch.converter\n\nimport se.kb.libris.util.marc.Controlfield\nimport se.kb.libris.util.marc.MarcRecord\nimport se.kb.libris.util.marc.io.Iso270... | groovy | chosen |
[
{
"from": "system",
"value": "Remove label and selectedVersion. Introduce property\n"
},
{
"from": "human",
"value": "package jetpacker.api.configuration\n\nimport groovy.transform.CompileStatic\n\n/**\n * Created by donny on 30/10/16.\n */\n@CompileStatic\nclass Releases {\n String label = '... | groovy | chosen |
[
{
"from": "system",
"value": "Add a real pipeline job\n"
},
{
"from": "human",
"value": "// Copyright 2016, RadiantBlue Technologies, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may ob... | groovy | chosen |
[
{
"from": "system",
"value": "Add ability to change tidewater home directory via system property\n"
},
{
"from": "human",
"value": "package greenmoonsoftware.tidewater.config\n\nclass Tidewater {\n static final String WORKSPACE_ROOT = '/Users/robert/tmp/tidewater'\n}\n"
},
{
"from": "... | groovy | chosen |
[
{
"from": "system",
"value": "Fix service princpal for clean job\n"
},
{
"from": "human",
"value": "node('spin-k8s-test') {\n try {\n properties([\n pipelineTriggers([cron('@daily')])\n ])\n\n checkout scm\n\n stage('Delete deployments') {\n d... | groovy | chosen |
[
{
"from": "system",
"value": "Disable optimistic concurrncy on job stats\n"
},
{
"from": "human",
"value": "package rundeck\n\nimport com.fasterxml.jackson.core.JsonParseException\nimport com.fasterxml.jackson.databind.ObjectMapper\n\nclass ScheduledExecutionStats {\n\n String content\n\n ... | groovy | chosen |
[
{
"from": "system",
"value": "Set password via property before tests are executed\n"
},
{
"from": "human",
"value": "package pl.tomaszdziurko.jvm_bloggers.view.login\n\nimport org.apache.wicket.authroles.authorization.strategies.role.Roles\nimport spock.lang.Specification\nimport spock.lang.Subj... | groovy | chosen |
[
{
"from": "system",
"value": "Add smuggler-runtime to androidTestCompile dependencies\n"
},
{
"from": "human",
"value": "package io.mironov.smuggler.plugin\n\nimport org.gradle.api.Plugin\nimport org.gradle.api.Project\n\npublic class SmugglerPlugin implements Plugin<Project> {\n @Override\n p... | groovy | chosen |
[
{
"from": "system",
"value": "Use null namespace if config is blank\n"
},
{
"from": "human",
"value": "package com.dtolabs.rundeck.server.plugins.storage\n\nimport com.dtolabs.rundeck.core.plugins.Plugin\nimport com.dtolabs.rundeck.core.storage.ResourceMeta\nimport com.dtolabs.rundeck.core.stora... | groovy | chosen |
[
{
"from": "system",
"value": "Fix NPE that occurs during schema update\n\nhttps://jira.grails.org/browse/GPHIBERNATEFILTER-17\n"
},
{
"from": "human",
"value": "package org.grails.plugin.hibernate.filter\n\nimport org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration\nimport... | groovy | chosen |
[
{
"from": "system",
"value": "Remove quality from tv template\n"
},
{
"from": "human",
"value": "package com.recknerd.flexget.domain.model\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties\nimport com.fasterxml.jackson.annotation.JsonProperty\nimport groovy.util.logging.Slf4j\nimpo... | groovy | chosen |
[
{
"from": "system",
"value": "Use localhost for internal api client calls"
},
{
"from": "human",
"value": "import groovyx.net.http.RESTClient\n\nif(params.clnt) {\n\tdef url = new URL(request.requestURL.toString())\n\tdef ctxPath = request.contextPath ? \"/$request.contextPath\" : ''\n\tdef rest... | groovy | chosen |
[
{
"from": "system",
"value": "Use options.associationPath instead of just associationPath.\n"
},
{
"from": "human",
"value": "package com.radiadesign.relationalscope\n\nimport org.hibernate.criterion.*\nimport org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass\n\nclass NotRelationalScop... | groovy | chosen |
[
{
"from": "system",
"value": "Trim excessive code from mongo config.\n"
},
{
"from": "human",
"value": "package com.wiredforcode.zim.config\nimport com.mongodb.Mongo\nimport org.springframework.context.annotation.Configuration\nimport org.springframework.data.mongodb.config.AbstractMongoConfigur... | groovy | chosen |
[
{
"from": "system",
"value": "Add new method that defautls to integration\n"
},
{
"from": "human",
"value": "package nebula.test.dependencies\n\nclass DependencyGraphBuilder {\n\n private static final DEFAULT_STATUS = 'integration'\n\n Map<String, DependencyGraphNode> modules = [:]\n\n ... | groovy | chosen |
[
{
"from": "system",
"value": "Verify that the taskTree task name does not already exist\n"
},
{
"from": "human",
"value": "package com.dorongold.gradle.tasktree\n\nimport org.gradle.api.Plugin\nimport org.gradle.api.Project\nimport org.gradle.api.Task\nimport org.gradle.api.invocation.Gradle\n\n... | groovy | chosen |
[
{
"from": "system",
"value": "Remove the signature before running the test.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2011 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with t... | groovy | chosen |
[
{
"from": "system",
"value": "Add check to also handle startYear/endYear\n"
},
{
"from": "human",
"value": "import whelk.converter.marc.RestructPropertyValuesAndFlagStep\n\nmerger = new RestructPropertyValuesAndFlagStep(\n matchValuePattern: '^[0-9u]{4}$',\n fuzzyMergeProperty: \"date\",\n... | groovy | chosen |
[
{
"from": "system",
"value": "Fix variable name in script.\n"
},
{
"from": "human",
"value": "File buildLog = new File(basedir, \"project/coverage/build.log\");\nif (!buildLog.isFile()) {\n throw new FileNotFoundException(\"Couldn't find build log: \" + buildLog)\n}\n\nString logText = buildLog... | groovy | chosen |
[
{
"from": "system",
"value": "Change default log level to WARN\n"
},
{
"from": "human",
"value": "package com.github.ksoichiro.web.resource.task\n\nimport com.github.ksoichiro.web.resource.util.PathResolver\nimport com.github.ksoichiro.web.resource.extension.WebResourceExtension\nimport org.grad... | groovy | chosen |
[
{
"from": "system",
"value": "Put it back into the state that uses annotations. Previously failing tests were not causes by the actual test code.\n\n+review REVIEW-5533\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 the original author or authors.\n *\n * Licensed under the Apache Lice... | groovy | chosen |
[
{
"from": "system",
"value": "Include submodule init in checkout\n"
},
{
"from": "human",
"value": "/**\n\n Checkout SCM\n\n Get the code from SCM and init / update submodules\n Leave the repository on the actual branch, instead of \"deatached\"\n\n Parameters:\n * jplConfig project config ... | groovy | chosen |
[
{
"from": "system",
"value": "Revert \"update check app catalog light to use local build info\"\n\nThis reverts commit b14754aec6ecbf31171e058298f6b6175851b904.\n"
},
{
"from": "human",
"value": "import hudson.model.Result\nimport jenkins.model.Jenkins\n\ndef check_light = build.buildVariables[\... | groovy | chosen |
[
{
"from": "system",
"value": "Add test for the case that ApiInfo contains just a license url.\n"
},
{
"from": "human",
"value": "package springfox.documentation.swagger2.mappers\n\nimport spock.lang.Specification\nimport springfox.documentation.builders.ApiInfoBuilder\nimport springfox.documenta... | groovy | chosen |
[
{
"from": "system",
"value": "Prepare test for future version of Gradle\n"
},
{
"from": "human",
"value": "package nebula.test.functional.internal.classpath\n\nimport org.gradle.util.GFileUtils\n\nfinal class ClasspathAddingInitScriptBuilderFixture {\n private ClasspathAddingInitScriptBuilder... | groovy | chosen |
[
{
"from": "system",
"value": "Throw exception for Trireme errors\n\nTriremeNodeRunner has status field but it has not been handled.\nRelated to #3, sometimes it actually fails.\nTherefore it should be reported to the caller and treat as build failure.\n"
},
{
"from": "human",
"value": "package c... | groovy | chosen |
[
{
"from": "system",
"value": "TAP5-1678: Create an internal library, with an internal layout for builtin pages (PageCatalog, ServiceStatus)\n\ngit-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@1177769 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "package org.apache.t... | groovy | chosen |
[
{
"from": "system",
"value": "Adjust IT: not interested in order, just in the Set of artifacts with duplicate classes"
},
{
"from": "human",
"value": "/*\r\n * Licensed to the Apache Software Foundation (ASF) under one\r\n * or more contributor license agreements. See the NOTICE file\r\n * dist... | groovy | chosen |
[
{
"from": "system",
"value": "Make test insensitive to file separators on windows\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance ... | groovy | chosen |
[
{
"from": "system",
"value": "Use MultiBinding in order to specify environment variables for AWS credentials.\n"
},
{
"from": "human",
"value": "def tests = [\n test_ec2_k8s_basic,\n test_noop\n]\n\ndef getTextMatrix() {\n return tests\n}\n\ndef test_ec2_k8s_basic = {\n node {\n ... | groovy | chosen |
[
{
"from": "system",
"value": "Improve algorithm builder delegate ocs\n"
},
{
"from": "human",
"value": "package org.grouplens.lenskit.eval.config\n\nimport org.grouplens.lenskit.eval.AlgorithmBuilder\nimport org.codehaus.groovy.runtime.MetaClassHelper\nimport org.grouplens.lenskit.core.LenskitRe... | groovy | chosen |
[
{
"from": "system",
"value": "Simplify job creation using new utility functionality\n"
},
{
"from": "human",
"value": "// Import the utility functionality.\n\nimport jobs.generation.Utilities;\n\ndef project = 'dotnet/codeformatter'\n// Define build string\ndef buildString = '''call \"C:\\\\Prog... | groovy | chosen |
[
{
"from": "system",
"value": "Add comment for PPG operating systems\n"
},
{
"from": "human",
"value": "def call() {\n return ['centos-7', 'centos8', 'debian-9', 'debian-10', 'ubuntu-focal', 'ubuntu-bionic', 'rhel8']\n}\n"
},
{
"from": "gpt",
"value": "def call() {\n // centos8 - ce... | groovy | chosen |
[
{
"from": "system",
"value": "Declare test list inside getTestMatrix.\n"
},
{
"from": "human",
"value": "def test_ec2_k8s_basic = {\n node {\n git url: 'https://github.com/Juniper/container-networking-ansible.git'\n\n withCredentials([[$class: 'UsernamePasswordMultiBinding', cre... | groovy | chosen |
[
{
"from": "system",
"value": "Remove request filter for crop image\n\n"
},
{
"from": "human",
"value": "package cytomine.web\n\n/**\n * Created by IntelliJ IDEA.\n * User: lrollus\n * Date: 19/08/11\n * Time: 9:49\n * To change this template use File | Settings | File Templates.\n */\n\nclass Re... | groovy | chosen |
[
{
"from": "system",
"value": "Add spock and code-coverage plugins\n"
},
{
"from": "human",
"value": "grails.project.class.dir = \"target/classes\"\ngrails.project.test.class.dir = \"target/test-classes\"\ngrails.project.test.reports.dir = \"target/test-reports\"\n\ngrails.project.dependency.reso... | groovy | chosen |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7