GithubHelp home page GithubHelp logo

jetbrains / teamcity-documentation Goto Github PK

View Code? Open in Web Editor NEW
22.0 18.0 116.0 210.17 MB

Source repository of TeamCity Help

Home Page: https://www.jetbrains.com/help/teamcity/teamcity-documentation.html

License: Apache License 2.0

teamcity-documentation's Introduction

Source Repository of TeamCity Help

Welcome to the source repository of the TeamCity Help site.

You can contribute to the TeamCity documentation by submitting pull requests to 2022.12 branch.

Please note that before submitting your first contribution to the JetBrains-associated repository, you have to sign and submit the JetBrains Contributor License Agreement (CLA). Without the signed CLA, we will have to reject your pull request.

teamcity-documentation's People

Contributors

burnasheva avatar danielgallo avatar dmitry-treskunov avatar dy1ng avatar eborchardt avatar elenaspb2019 avatar fbolton avatar guireibar avatar hypnosphi avatar jlleitschuh avatar julia-alexandrova avatar karanagai avatar kilinajb avatar kir avatar kse1920 avatar lenadvoriadkina avatar mikekidya avatar mkjetbrains avatar nchubatova avatar paksv avatar pavelsher avatar redrum-llik avatar rmaksimov avatar tolache avatar undimmable avatar valrravn avatar vbedrosova avatar vladrassokhin avatar wachtel1 avatar yaegor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

teamcity-documentation's Issues

Clarify configuration for internal consumption of TeamCity NuGet feeds

https://www.jetbrains.com/help/teamcity/using-teamcity-as-nuget-feed.html says

You can use TeamCity NuGet feeds to restore packages in your builds: when the NuGet Installer or NuGet Publish build step is used, TeamCity will use the credentials provider to automatically authenticate requests to the private TeamCity NuGet feeds.

It would be useful to say that the alternative, if you have a VS / MSBuild build step with Restore among its targets, is to add a "NuGet feed credentials" build feature. (Even more helpful would be to automatically use the credentials provider with VS / MSBuild, but that's a feature request which belongs in a different issue tracker).

MySQL UTF-8 recommendation and enforcing encoding might need to change

Currently states configuring-utf8-character-set-for-mysql.md

__To create a MySQL database which uses the utf8 character set:__
	
1. Create a new database:

    ```SQL
    create database <database_name> character set UTF8 collate utf8_bin
    ```
	
2. Open `<[TeamCity Data Directory](teamcity-data-directory.md)>/config/database.properties`, and add the `characterEncoding` property:
  
    ```Plain Text
    connectionProperties.characterEncoding=UTF-8
    ```

but it seems

2. Open `<[TeamCity Data Directory](teamcity-data-directory.md)>/config/database.properties`, and add the `characterEncoding` property:
  
    ```Plain Text
    connectionProperties.characterEncoding=UTF-8
    ```

is not necessary because the driver automatically detects the coalition. even the comment in the database.properties states

# Specifies whether the driver should use Unicode character encodings
# when handling strings. Should only be used when the driver cannot determine
# the character set mapping, or you are trying to 'force' the
# driver to use unicode

There is also an additional way of changing the coalition withoutn needing to create a new database like the following


__To change the character set of an existing MySQL database to utf8:__
	
1. Shut the TeamCity server down.
2. From the `<[TeamCity Home](teamcity-home-directory.md)>/bin` directory, export the database using the `maintainDB tool`:
    
    ```Plain Text
    maintainDB backup -D -F database_backup
    ```

    More details on this backup are [here](creating-backup-via-maintaindb-command-line-tool.md#Performing+TeamCity+Data+Backup+with+maintainDB+Utility).
3. Change the database coalition with

    ```Plain Text
    ALTER DATABASE teamcitydb CHARACTER SET UTF8 COLLATE utf8_bin;
    ```

4. Change the table coalition with:
        
    ```Plain Text
    USE INFORMATION_SCHEMA;
    SELECT 
    CONCAT("ALTER TABLE `", TABLE_SCHEMA,"`.`", TABLE_NAME, "` CONVERT TO CHARACTER SET UTF8 COLLATE utf8_bin;") 
    AS MySQLCMD FROM TABLES
    WHERE TABLE_SCHEMA = "teamcitydb";
    ```
5. Execute the above commands.
6. Start the TeamCity server.

Would you want me to add a PR to incorporate this?

Another question I have is why are you recommending to set UTF8 and not

CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

which seems to be the recommended coalition when using MYSQL

https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-utf8mb4.html

invalid swagger spec

Hi there! Running on-premise TC 2022.10.2

I've got a swagger spec with curl <myserver>/app/rest/swagger.json > tc.json and wanna generate a go client. I tried several generators and all are failing.

official: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
They say its because of possible loops inside the spec. Check here

go-swagger: tc.json is invalid against swagger specification 2.0. see errors: definitions in body must be of type array

Tried two more. All are failing.

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.