Commit Graph

636 Commits

Author SHA1 Message Date
Pedro Piñera 6c80ba61cc Add missing rename 2022-01-07 18:23:06 +01:00
Pedro Piñera 7b7baf1c6b Rename method 2022-01-07 18:21:38 +01:00
Pedro Piñera bd7f75e09c Add a strategy to be able to authenticate using tokens 2022-01-07 18:16:11 +01:00
Pedro Piñera b30e023202 Remove the AGPL-3 licensing from Tuist Cloud 2022-01-06 10:58:35 +01:00
Luis Padron 722206ebac
Feat: Update fourier to use system tuist whenever possible (#3950) 2022-01-06 09:10:27 +01:00
Marek Fořt 00abe1d1e6
Remove mentions of AGPL in tuist cloud (#3948) 2022-01-05 21:32:46 +01:00
Erk Ekin 0d305e31f9
Script variable path error fixed (#3861)
Resolves https://github.com/tuist/tuist/issues/1870

- `TargetScriptsContentHasher` now accounts for input and output paths that include variables

Test Plan:

```bash
$ mkdir baklava
$ cd baklava
$ tuist init --platform ios
$ tuist edit
```

add a script phase with output path, including an Xcode build environment variables such as `DERIVED_FILE_DIR`
(see more env variables by running `xcodebuild -showBuildSettings`)

```swift
  sources: ["Targets/\(name)/Sources/**"], resources: [], scripts: [
                          .pre(
                            script: "ls -la > ${SCRIPT_OUTPUT_FILE_0}",
                            name: "",
                            outputPaths: ["$(DERIVED_DILE_DIR)/script_ran.txt"]
                          )
                         ],
```

```bash
$ tuist test
```

You'll see the logs as

```bash
Generating project for testing
File not found at /Users/eekin/Desktop/baklava/$(DERIVED_DILE_DIR)/script_ran.txt
Consider creating an issue using the following link: https://github.com/tuist/tuist/issues/new/choose
```
2022-01-05 17:21:37 +00:00
Alfredo Delli Bovi 74fb6660bb
Build tuist binaries and tuist libraries using different xcode versions to ensure backward compatibility (#3940) 2022-01-05 16:42:27 +01:00
ezraberch fbcc3c37ee
Add `.exact`, `.upToNextMajor`, and `.upToNextMinor` options to `CompatibleXcodeVersions` (#3929) 2022-01-04 11:52:12 +01:00
depfu[bot] a395218822
Update all Bundler dependencies (2022-01-03) (#3933)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2022-01-03 21:42:07 +01:00
depfu[bot] cc9c8ea0f9
Update all Bundler dependencies (2022-01-03) (#3934)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2022-01-03 21:38:03 +01:00
Alfredo Delli Bovi 8b8d7e1eb2
Fix circular detection lint (#3876)
* Fix circular detection linting

* Move duplication linting in ManifestLinter

* Use GraphLoaderLinting instead of GraphLoaderLinter

* Fix format

* Rename GraphLoaderLinting  to CircularDependencyLinting

* Add acceptance test for circular dependency

* Edit changelog

* Update CHANGELOG.md
2022-01-03 14:41:12 +01:00
Denis Morozov 468206fcc2 Reorder parameters 2022-01-01 19:01:36 +03:00
Denis Morozov 803a80878a Fix text that is used for `DeploymentTarget` link 2022-01-01 18:00:27 +03:00
Denis Morozov 18d48b3d24 Fix incorrect example of `.target` dependency usage 2022-01-01 18:00:03 +03:00
Pedro Piñera Buendía 663f286e1d
Document how to use the Bitrise step (#3921)
* Document how to use the Bitrise step

* Update the CHANGELOG

* fix: remove unneeded run_if

Co-authored-by: Luis Padron <luis.padron@compass.com>

Co-authored-by: Pedro Piñera <pedro@ppinera.es>
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
Co-authored-by: Luis Padron <luis.padron@compass.com>
2021-12-30 09:22:20 +01:00
Luis Padron 10920df8b6 Fix: Importing plugins in local helpers 2021-12-29 21:22:37 -05:00
Luis Padron 650980eced
Merge pull request #3752 from tuist/fix-crash-environment
Fix crash when running tuist build with verbose config variable
2021-12-29 13:21:59 -05:00
Pedro Piñera Buendía f582e952de
Merge 'fourier format swift' into 'fourier lint tuist' (#3916)
* Merge 'fourier format swift' into 'fourier lint tuist'

* Remove the step from the checks workflow

Co-authored-by: Pedro Piñera <pedro@ppinera.es>
2021-12-29 17:58:10 +01:00
fortmarek 237efe4f5d Build tuistenv 2021-12-29 13:25:36 +01:00
Pedro Piñera Buendía 538b2d1a02
Fix presentation of errors parsing arguments in tuistenv (#3905)
* Fix presentation of errors parsing arguments in tuistenv

* Update the CHANGELOG

* Update Sources/TuistEnvKit/Commands/TuistCommand.swift

Co-authored-by: ezraberch <49635435+ezraberch@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>

Co-authored-by: Pedro Piñera <pedro@ppinera.es>
Co-authored-by: ezraberch <49635435+ezraberch@users.noreply.github.com>
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2021-12-29 13:13:22 +01:00
Pedro Piñera bb23db7965 Chang the sidebar order 2021-12-29 09:59:57 +01:00
Pedro Piñera Buendía cf57cbcc8e
Some improvements to the documentation for external dependencies (#3904)
Co-authored-by: Pedro Piñera <pedro@ppinera.es>
2021-12-29 09:53:26 +01:00
humdrum caf393bc3f
modify template flag to accept repo url (#3796)
* modify template flag to accept repo url

* fix pr review issues and add test

* refactor and fix pr issues

* Add acceptance test

* refactor method to evaluate git url

* feat: add -b optional argument to init command

* refactor when create a temp directory. Now is removing as sson the project is generated

* change branch selection approach, now its parsed from url

* update gitURL Test and add TemplateLocationParser at TuistSupport

* Create TemplateLocationParser Tests

* Refactor InitService.swift

Co-authored-by: Pedro Piñera <pepibumur@gmail.com>
2021-12-27 20:03:43 +01:00
depfu[bot] 500a43801e
Update all npm dependencies (2021-12-27) (#3908)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-27 19:46:59 +01:00
depfu[bot] 5ddceed085
Update all Bundler dependencies (2021-12-27) (#3907)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-27 19:46:41 +01:00
ezraberch ce27fa59a7
Fix depfu on `website` (#3878)
* Remove obsolete dependency

* Remove old lockfile

* Update all npm dependencies (2021-12-23)

* Add `--legacy-peer-deps` flag

* Add `underscore`

* Change `fourier` to build with `npm`

* Revert `tailwindcss` to 2.2.19

* Add `package-lock.json`

* Turn off lockfile upload

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-26 20:09:04 +01:00
depfu[bot] 89b2e43d36
Update rubocop-rails to version 2.13.0 (#3899)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-26 19:58:04 +01:00
depfu[bot] 2085766db6
Update vite-plugin-ruby to version 3.0.5 (#3897)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-26 19:57:51 +01:00
depfu[bot] af278165c1
Update rollup to version 2.62.0 (#3895)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-25 10:27:17 +01:00
depfu[bot] 5dd0dfe752
Update react-hook-form to version 7.22.5 (#3894)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-25 10:27:09 +01:00
depfu[bot] e9a23f4513
Update rubocop to version 1.24.0 (#3893)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-25 10:26:57 +01:00
depfu[bot] d74a061a29
Update @types/react to version 17.0.38 (#3890)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-25 10:26:35 +01:00
Marek Fořt 5bd202b63e
Mobx store for organization (#3863)
* Create new organization (#3745)

* Create new organization

* Organization settings (#3751)

* Update routing

* Fetch owner and display organization tab

* Show list of users for the project's organization

* Show users' roles

* Change roles (#3776)

* Change roles

* Add ability

* Authorize user actions with pundit instead of cancan

* Simplify change user role API

* Rename user to current_user in ProjectFetchService

* Catch unauthorized errors

* Rename acting_user to role_changer

* WIP: Custom errors

* Change error handling

* Fix lint issues

* Mobx store for organization
2021-12-25 10:23:34 +01:00
Pedro Piñera Buendía fce68c59f1
[Cloud] Create services that model organization-level operations (#3726)
* Implement the service for creating an organization

* Create new organization (#3745)

* Create new organization

* Organization settings (#3751)

* Update routing

* Fetch owner and display organization tab

* Show list of users for the project's organization

* Show users' roles

* Change roles (#3776)

* Change roles

* Add ability

* Authorize user actions with pundit instead of cancan

* Simplify change user role API

* Rename user to current_user in ProjectFetchService

* Catch unauthorized errors

* Rename acting_user to role_changer

* WIP: Custom errors

* Change error handling

* Fix lint issues

* Some fixes

* Some fixes

Co-authored-by: Pedro Piñera <pepibumur@gmail.com>
Co-authored-by: Marek Fořt <marekfort@me.com>
Co-authored-by: Pedro Piñera <pedro@ppinera.es>
2021-12-24 11:33:26 +01:00
Pedro Piñera Buendía ca591c886d
Cloud: The creation of users doesn't create an account when signing up via email & password (#3877)
* Fix the creation of users

* Create the validation as part of a callback

Co-authored-by: Pedro Piñera <pedro@ppinera.es>
2021-12-24 08:50:00 +01:00
Erk Ekin 38d544c386
.swiftversion is created (#3862)
* swift version file added to prevent some skipped rules

* swiftformat ran without --lint applied

* revert lint argument

* Xcode 13.0 -> 13.2

* revert version argument

* bump to 5.5.2

* swift version updated to 5.1.2

* some files formatted

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2021-12-24 08:42:39 +01:00
depfu[bot] 182d6f31c5
Update mobx to version 6.3.10 (#3889)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-24 08:32:20 +01:00
Pedro Piñera Buendía a091ad5522
Update Tuist Cloud to Rails 7 (#3888)
* Update the dependency to Rails 7

* Update the project to Rails 7

* Some fixes

Co-authored-by: Pedro Piñera <pedro@ppinera.es>
2021-12-24 08:30:17 +01:00
Pedro Piñera Buendía 9f39cf741a
Update Backbone to Rails 7 (#3881)
* Update Rails to 7

* Some final fixes

* Fix CI

Co-authored-by: Pedro Piñera <pedro@ppinera.es>
2021-12-23 10:17:45 +01:00
ezraberch 809a3fccd6
Update for Xcode 13.2 (#3866)
* Set `BUILD_LIBRARY_FOR_DISTRIBUTION` in prebuilt framework in `ios_app_with_static_frameworks_with_resources` fixture

* Remove iOS version requirement in `ios_app_with_custom_configuration`

* Update CI to use Xcode 13.2

* Update other prebuilt frameworks in fixtures

* Update release workflows
2021-12-23 07:52:59 +01:00
depfu[bot] eb047b39e3
Update jbuilder to version 2.11.5 (#3874)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-23 07:50:30 +01:00
depfu[bot] 21cb30654e
Update graphql-schema_comparator to version 1.1.0 (#3873)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-23 07:50:20 +01:00
depfu[bot] 7ab53d798b
Update jbuilder to version 2.11.5 (#3875)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-23 07:50:07 +01:00
depfu[bot] f6d0524425
Update react-hook-form to version 7.22.3 (#3879)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-23 07:49:56 +01:00
Pedro Piñera 3811e40490 Remove failing acceptance test 2021-12-23 07:49:40 +01:00
depfu[bot] ead0a13377
Update vite to version 2.7.4 (#3871)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-21 13:36:20 +01:00
depfu[bot] 6cfb2f82f8
Update vite to version 2.7.4 (#3870)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-21 13:36:10 +01:00
Jake Adams 7b098417bf
Add `Workspace.GenerationOptions` to support `WorkspaceSettings.xcsettings`. (#3832)
* Add `Workspace.GenerationOptions` to support `WorkspaceSettings.xcsettings`.

* Remove commented code.

* Update `Constants.cacheVersion`

* Update CHANGELOG

* Update docs.

* Update formatting.

* Rename `Schema` to `Scheme`

* Rename to `automaticXcodeSchemes` and `AutomaticSchemeMode`.

* Update spelling in docs.

* Move `WorkspaceSettings` into `WorkspaceSettingsDescriptor`

* Update type names in `ProjectDescription`

Also extend the ios app fixture to showcase new options.

* Update XcodeProj to solve the issue of `xcsettings` getting saved as a binary.

* Convert `Workspace.GenerationOptions` to a `struct`.

* Update docs to reflect enum -> struct change.

* Delete workspace settings file, if needed.

* fix lint issue

* Update XcodeProj dependency to the release.

* Update lockfiles/Package.resolved.

* revert cache version change.

* move `public` to function.

* Use `FileHandler` when deleting xcsettings file.

* fix formatting

* Update docs
2021-12-20 22:37:37 +01:00
depfu[bot] acf90d825f
Update debug to version 1.4.0 (#3864)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-20 22:04:19 +01:00